Risolto problema Vellutello verso 31 e 61

This commit is contained in:
nicola 2025-03-20 17:49:55 +01:00
parent 1e6e8c76da
commit eaa71db076
1 changed files with 8 additions and 7 deletions

View File

@ -1122,7 +1122,7 @@ $(document).ready(function() {
}); });
commentArea.append(currentGroup); commentArea.append(currentGroup);
if (k.includes("-") && !noteAdded && filterOn) { if (!noteAdded && filterOn) {
currentGroup.css('display', 'none'); currentGroup.css('display', 'none');
} }
} }
@ -1852,12 +1852,8 @@ $(document).ready(function() {
numeroContesti = uniq_res.length;; numeroContesti = uniq_res.length;;
setCurrentPage(0); setCurrentPage(0);
managePage(); managePage();
$("#loader").fadeOut(300); //$("#loader").fadeOut(300);
//$("#cantica0").trigger("click"); //$("#cantica0").trigger("click");
$("#collapseZero").collapse('show');
$("#collapseInferno").collapse('hide');
$("#collapsePurgatorio").collapse('hide');
$("#collapseParadiso").collapse('hide');
} else { } else {
return; return;
@ -1885,6 +1881,11 @@ $(document).ready(function() {
filterBottonAdded = true; filterBottonAdded = true;
} }
$("#collapseZero").collapse('show');
$("#collapseInferno").collapse('hide');
$("#collapsePurgatorio").collapse('hide');
$("#collapseParadiso").collapse('hide');
const emptyNoteList = '<div class="card card-body well well-sm m-1 mt-2 p-0" id="noteCard0"><span class="p-3 text-muted bg-lida-vis small" style="opacity: 0.6;">Nessun commento visualizzato</span></div>'; const emptyNoteList = '<div class="card card-body well well-sm m-1 mt-2 p-0" id="noteCard0"><span class="p-3 text-muted bg-lida-vis small" style="opacity: 0.6;">Nessun commento visualizzato</span></div>';
$('#displaynote').empty() $('#displaynote').empty()
$('#displaynote').append($(emptyNoteList)) $('#displaynote').append($(emptyNoteList))