gestione vis riferimentiin minimap

This commit is contained in:
cesare 2024-04-18 09:29:29 +02:00
parent f9330e4db8
commit e09bf05ccd
1 changed files with 7 additions and 2 deletions

View File

@ -94,9 +94,15 @@ $('#opzioniVista :checkbox').change(function() {
break;
case "visRiferimenti|true":
$(".showcomments").css("display", "inline-block");
minim.contents().find(" .showcomments").each(function(){
$(this).css('display', 'inline-block');
})
break;
case "visRiferimenti|false":
$(".showcomments").css("display", "none");
minim.contents().find(" .showcomments").each(function(){
$(this).css('display', 'none');
})
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').append($(emptyNoteList))
@ -1667,8 +1673,7 @@ function resetFrasi(){
} else {
var commentIcon = '<ion-icon name="document-attach"></ion-icon>';
}
//var commentIcon = '<ion-icon name="information"></ion-icon>';
//var number = " "+numberOfComments.toString();
spanoccorrenza.append(commentIcon)
//spanoccorrenza.append(number)