diff --git a/js/browseMgr.js b/js/browseMgr.js index 9047738..fdf9db4 100644 --- a/js/browseMgr.js +++ b/js/browseMgr.js @@ -840,10 +840,10 @@ $(document).ready(function() { if (canto.length == 1) canto = '0' + canto - commentsArray = getVersiConCitazioni(cantica, canto) +// commentsArray = getVersiConCitazioni(cantica, canto) commentsJson = getVersiConCitazioniJson(cantica, canto) - commentsArray.forEach(removeHtmlTags2) - +// commentsArray.forEach(removeHtmlTags2) +/* var numVerso1; var numVerso2; var versoCitazione; @@ -860,11 +860,11 @@ $(document).ready(function() { if (numVerso1 < numVerso2) return -1; if (numVerso1 > numVerso2) return 1; return 0; - }); + });*/ } /* Luca: removeHtmlTags2 e' la versione compatta di removeHtmlTags*/ - function removeHtmlTags2(value) { + /*function removeHtmlTags2(value) { var text = "" for (const key in value) { text = `${value[key]}` @@ -877,7 +877,7 @@ $(document).ready(function() { } } } - +*/ function removeHtmlTags(value) { var text = value; @@ -1231,7 +1231,7 @@ $(document).ready(function() { divFrammAnnot.appendTo(collapse); } - function hasComments(cid) { +/* function hasComments(cid) { var id = cid.substr(9); for (var pos in commentsArray) { var comments = commentsArray[pos] @@ -1241,7 +1241,7 @@ $(document).ready(function() { } } return false; - } + }*/ function hasCommentsJson(cid) { @@ -1255,11 +1255,11 @@ $(document).ready(function() { } - function numberOfComments(cid) { +/* function numberOfComments(cid) { var id = cid.substr(9); return commentsArray.filter(x => x.verso == id).length } - +*/ function numberOfCommentsJson(cid) { var cntc = 0 var id = cid.substr(9);