bug fixed

This commit is contained in:
cesare 2023-11-09 16:28:44 +01:00
parent 1babf44179
commit b19384a790
1 changed files with 3 additions and 2 deletions

View File

@ -477,6 +477,7 @@ $(" ."+formaClass).hover(function(idx, element) {
const cid=$(this).attr('name').replace(" ", "_");
cantoDisplayed = "#"+cid;
initCitazioni()
var parcid=cid.split('_')
if ( !(loadedCanti.has(cid)))
@ -736,10 +737,10 @@ function resetFrasi(){
if (mcanto.startsWith('Par'))
cantica='Paradiso'
canto=mcanto.split('_')[1]
if (canto.length=1)
if (canto.length==1)
canto='0'+canto
console.log(cantica+', '+canto)
commentsArray=getVersiConCitazioni(cantica, "01")
commentsArray=getVersiConCitazioni(cantica, canto)
console.log(commentsArray)
}