minor bug
This commit is contained in:
parent
22b60cfdc5
commit
390496f570
|
@ -216,7 +216,7 @@ $(" ."+formaClass).hover(function(idx, element) {
|
|||
jQuery(document).delegate(' .espandiFrase', 'click', function() {
|
||||
var cid = $(this).attr('id');
|
||||
var parcid=cid.split('_');
|
||||
var cantoToShow = "#"+parcid[0]+"_"+parcid[2]
|
||||
var cantoToShow = parcid[0]+"_"+parcid[2]
|
||||
var fraseToExpand = "#"+"Frase"+parcid[4]
|
||||
var cantoDiv = [];
|
||||
var fraseDiv = [];
|
||||
|
@ -234,6 +234,7 @@ $(" ."+formaClass).hover(function(idx, element) {
|
|||
if ( !(loadedCanti.has(cantoToShow))){
|
||||
caricaCanto(cantoToShow,parcid)
|
||||
}
|
||||
cantoToShow = "#"+ cantoToShow;
|
||||
|
||||
$(cantoToShow +" > p").each((index, elem) => {
|
||||
cantoDiv.push(elem.id);
|
||||
|
|
Loading…
Reference in New Issue