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