minor changes

This commit is contained in:
cesare 2023-11-07 11:01:34 +01:00
parent f4821005d9
commit 49839f338a
1 changed files with 3 additions and 2 deletions

View File

@ -1021,7 +1021,8 @@ function resetFrasi(){
function createCommentSpan(idVerso, elementoverso) { function createCommentSpan(idVerso, elementoverso) {
var spanoccorrenza = $('<button />') var spanoccorrenza = $('<button />')
spanoccorrenza.attr('id', idVerso) spanoccorrenza.attr('id', idVerso)
spanoccorrenza.attr('class', 'btn btn-sm btn-outline-secondary showcomments px-1 pt-1 pb-0 ml-1'); //btn-sm btn-outline-secondary
spanoccorrenza.attr('class', 'btn btn-sm btn-danger showcomments px-1 pt-1 pb-0 ml-1');
var commentIcon = '<ion-icon name="attach"></ion-icon>'; var commentIcon = '<ion-icon name="attach"></ion-icon>';
spanoccorrenza.append(commentIcon) spanoccorrenza.append(commentIcon)
spanoccorrenza.appendTo(elementoverso) spanoccorrenza.appendTo(elementoverso)
@ -1041,7 +1042,7 @@ function resetFrasi(){
spanComment.appendTo(commentArea); spanComment.appendTo(commentArea);
}) })
//DA MODIFICARE: getComments può restituire più di un commento
function getComments(cid){ function getComments(cid){
var id = cid.substr(9); var id = cid.substr(9);