diff --git a/js/cesareBrowse.js b/js/cesareBrowse.js index 6927762..1cfc54e 100644 --- a/js/cesareBrowse.js +++ b/js/cesareBrowse.js @@ -1234,7 +1234,7 @@ function resetFrasi(){ var idCommento = "Commento_"+idcantica+"_"+canto+"_"+verso; //if (hasComments(idCommento)){ if (numberOfComments(idCommento)>0){ - createCommentSpan(idCommento, elverso) + createCommentSpan(idCommento, elverso, numberOfComments) console.log("Numero commenti: "+numberOfComments(idCommento)) } @@ -1299,13 +1299,16 @@ function resetFrasi(){ } - function createCommentSpan(idVerso, elementoverso) { + function createCommentSpan(idVerso, elementoverso, numberOfComments) { var spanoccorrenza = $('