Tolto bottone di chiusura singola nota

This commit is contained in:
Luca Trupiano 2024-01-08 10:22:13 +01:00
parent be339103f3
commit 268648e08a
1 changed files with 5 additions and 5 deletions

View File

@ -932,8 +932,8 @@ function resetFrasi(){
var closeButton = $('<button id="closeNote'+id+'"'+
'class="btn btn-sm btn-outline-warning btn-outline-warning-mod closeNote rounded text-warning align-self-end px-1 pb-0 ml-1 mb-1">'+
'<ion-icon name="close-circle"></ion-icon>');
closeButton.appendTo(buttons);
if (len > 1) {
closeButton.appendTo(buttons);
var commentiSP = " commenti su "
} else {
var commentiSP = " commento su "
@ -1046,11 +1046,11 @@ function resetFrasi(){
'data-toggle="collapse" data-target="#collapseNote'+id+ '_' + pos +'"'+
'aria-expanded="true" aria-controls="collapseNote'+id+ '_' + pos +'">'+
'<ion-icon name="archive"></ion-icon>');
var closeButton = $('<button id="closeNote'+id+ '_' + pos +'"'+
'class="btn btn-sm btn-outline-primary bg-light closeNote border rounded text-primary align-self-end px-1 pb-0 ml-1 mb-1">'+
'<ion-icon name="close-circle"></ion-icon>');
//var closeButton = $('<button id="closeNote'+id+ '_' + pos +'"'+
// 'class="btn btn-sm btn-outline-primary bg-light closeNote border rounded text-primary align-self-end px-1 pb-0 ml-1 mb-1">'+
// '<ion-icon name="close-circle"></ion-icon>');
collapseButton.appendTo(buttons);
closeButton.appendTo(buttons);
//closeButton.appendTo(buttons);
if (comments.commentario != null){
rigaNota.append('<b>Commentatore:</b> <i>' + comments.commentario + '</i><br>');