corretto bug citazoni

This commit is contained in:
cesare 2024-05-17 08:18:38 +02:00
parent 9643444003
commit c442a5a60f
1 changed files with 3 additions and 2 deletions

View File

@ -87,6 +87,7 @@ $(document).ready(function() {
break;
case "visRiferimenti|true":
vistaRiferimenti = true
initCitazioni()
$(cantoDisplayed).find(" .showcomments").each(function(){
$(this).css("display", "inline-block");
})
@ -486,8 +487,8 @@ $(document).ready(function() {
const cid = $(this).attr('name').replace(" ", "_");
cantoDisplayed = "#" + cid;
initCitazioni()
if (vistaRiferimenti)
initCitazioni()
var parcid = cid.split('_')
if (!(loadedCanti.has(cid))) {