minor change su bottoni citazioni

This commit is contained in:
nicola 2025-03-10 16:37:07 +01:00
parent e72f25ef26
commit 8e9d59ee98
1 changed files with 8 additions and 4 deletions

View File

@ -582,10 +582,14 @@ $(document).ready(function() {
var telive = getListaRis()
cantoDisplayed = "#" + cid;
if (vistaRiferimenti)
if(telive.length > 0){
initCitazioni()
if (telive.length > 0) {
initCitazioni()
} else {
if (vistaRiferimenti) {
initCitazioni();
}
}
var parcid = cid.split('_')
if (!(loadedCanti.has(cid))) {
@ -599,7 +603,7 @@ $(document).ready(function() {
}
//var telive = getListaRis()
for (var tel of telive) { //prova
for (var tel of telive) {
var telId = tel.split("_");
telId = "#"+telId[0]+telId[1]+"_"+telId[2];
$(telId+" #"+tel).addClass("mark ")