diff --git a/js/browseMgr.js b/js/browseMgr.js index a976b95..0cb3cfd 100644 --- a/js/browseMgr.js +++ b/js/browseMgr.js @@ -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))) {