From 7a6bf8552d707835764017422648ceff61622096 Mon Sep 17 00:00:00 2001 From: nicola Date: Sun, 9 Mar 2025 12:16:12 +0100 Subject: [PATCH] Fixed visualizzazione riferimenti manca Proemio --- js/browseMgr_5.1.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/js/browseMgr_5.1.js b/js/browseMgr_5.1.js index 6be2b72..b954559 100644 --- a/js/browseMgr_5.1.js +++ b/js/browseMgr_5.1.js @@ -1073,9 +1073,9 @@ $(document).ready(function() { //gruppoVersi = k.split("_").slice(-1)[0] gruppoVersi = k if (gruppoVersi.includes("-")) { - versText = ", Versi " + verso//gruppoVersi; + versText = ", Versi " + gruppoVersi; } else { - versText = ", Verso " + verso//gruppoVersi; + versText = ", Verso " + gruppoVersi; } currentGroup = createNoteGroup(cantica, getRoman(parcid[2]), versText, k, commentsSQL[k].length, queryComment) @@ -1084,7 +1084,7 @@ $(document).ready(function() { currentGroup.append(createNoteEntry(value, k, i, queryComment)) }); if (queryComment) { - if (noteAdded) { // verificare + if (noteAdded) { commentArea.append(currentGroup); if (filterOn) { $(".filterRiferimentiOff").css('display', 'inline-block'); @@ -1093,6 +1093,10 @@ $(document).ready(function() { $(".filterRiferimentiOn").css('display', 'inline-block'); $(".filterRiferimentiOff").css('display', 'none'); } + }else{ + if (k.includes("-") && !filterOn) { + commentArea.append(currentGroup); + } } } else { commentArea.append(currentGroup);