diff --git a/js/cesareBrowse.js b/js/cesareBrowse.js
index d20eef6..0052e81 100644
--- a/js/cesareBrowse.js
+++ b/js/cesareBrowse.js
@@ -1457,17 +1457,18 @@ function resetFrasi(){
//var commNumber = numberOfComments(idCommento);
var commNumber=numberOfCommentsJson(idCommento)
- //if (hasComments(idCommento)){
- if (commNumber>0){
- createCommentSpan(idCommento, elverso, commNumber)
- //console.log("Numero commenti: "+commNumber)
- }
+
+
if(currSentenceId!=null && currSentenceId != sentenceid){
createSpanPeriodiTag(closeSTag, 'c', formaItem[2]-1, currSentenceId, elverso, periodinum[currSentenceId])
currSentenceId=null
}
+ if (commNumber>0){
+ createCommentSpan(idCommento, elverso, commNumber)
+ //console.log("Numero commenti: "+commNumber)
+ }
//elverso=createDivVersoNew(cantica, formaItem[3], 'Canto_' + formaItem[1])
elverso=createDivVersoLI(cantica, formaItem[3], 'Canto_' + formaItem[1])
setVersiCanto.add(cantica+ "_" + formaItem[3] + "_" + 'Canto_' + formaItem[1])
@@ -1551,24 +1552,34 @@ function resetFrasi(){
spanoccorrenza.append(separator+" ")
if (separator==closeSTag){
- /*
- //aggiunge il nome del 'parlante', NON SERVE RIMUOVERE
+
+ //aggiunge simbolo di chiusura dialogo
for (const india in dialoghi){
if (dialoghi[india]['Cnt'].replace('_so','')==sentenceid){
- var supelname=$('')
- supelname.append("("+dialoghi[india]['Spna'].replace('http://dantenetwork.it/data/commedia/', '')+') ')
- supelname.attr('class', sentenceid+'_so autoredialogotag')
- supelname.css("display", "none")
- supelname.appendTo(elementoverso)
+ var enddiscorso=$('')
+ enddiscorso.append('» ')
+ enddiscorso.appendTo(elementoverso)
break;
}
}
- */
+
varsupel=$('')
//varsupel.append(sentenceid.split('_')[3]+' ')
varsupel.append(pnum+' ')
varsupel.appendTo(spanoccorrenza)
}
+ if (separator==openSTag){
+
+ //aggiunge simbolo di apertura dialogo
+ for (const india in dialoghi){
+ if (dialoghi[india]['Cnt'].replace('_so','')==sentenceid){
+ var enddiscorso=$('')
+ enddiscorso.append('« ')
+ enddiscorso.appendTo(elementoverso)
+ break;
+ }
+ }
+ }
spanoccorrenza.css("display", "none")
spanoccorrenza.appendTo(elementoverso)
diff --git a/node_modules/commarcdiag/d019e1db56ab1d8c@1540.js b/node_modules/commarcdiag/d019e1db56ab1d8c@1540.js
index 9c031e6..74fdfd2 100644
--- a/node_modules/commarcdiag/d019e1db56ab1d8c@1540.js
+++ b/node_modules/commarcdiag/d019e1db56ab1d8c@1540.js
@@ -1257,7 +1257,7 @@ function _sentenceArcsStructs_new(d3,DOM,width,margin,sentenceheight,lisid,data_
//.attr("y", d => yScale(d.visible))
.attr("dominant-baseline", "middle")
.attr("y", d=>sty+ yScale(d.visible)+syntfunctype(d.visible))
- .attr("class","synt__info")
+ .attr("class","synt__info")
.style("text-anchor", "start")
.text(d => d.visible)