From c442a5a60f208ff75d5b15381780fa5075533587 Mon Sep 17 00:00:00 2001 From: cesare Date: Fri, 17 May 2024 08:18:38 +0200 Subject: [PATCH] corretto bug citazoni --- js/browseMgr.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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))) {