From e01d618f34ee578482b421ebf2abadbcfd74e350 Mon Sep 17 00:00:00 2001 From: nicola Date: Tue, 19 Nov 2024 15:39:09 +0100 Subject: [PATCH] removed CesareBrowse messo commenti da Browse manager --- js/browseMgr.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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);