ottimizzazione funzioni di caricamento iniziale

This commit is contained in:
cesare 2022-12-16 12:44:00 +01:00
parent bf80adafe8
commit 00cecf99ce
1 changed files with 2 additions and 2 deletions

View File

@ -299,7 +299,7 @@ $(document).ready(function() {
//var listaCanti = new Set() //var listaCanti = new Set()
var setVersi = new Set() var setVersi = new Set()
//$("#loader").show(); //$("#loader").show();
containerForme = formeprima var containerForme = formeprima
if (cantica == 'Paradiso') if (cantica == 'Paradiso')
containerForme = formeterza containerForme = formeterza
if (cantica == 'Purgatorio') if (cantica == 'Purgatorio')
@ -395,7 +395,7 @@ $(document).ready(function() {
elementoverso.attr('id', cantica + "_" + canto + "_" + num) elementoverso.attr('id', cantica + "_" + canto + "_" + num)
var spanoccorrenza = $('<span />') var spanoccorrenza = $('<span />')
var pos = parseInt(pos) //var pos = parseInt(pos)
spanoccorrenza.attr('id', cantica + "_" + canto+ "_" + num + "_" + pos) spanoccorrenza.attr('id', cantica + "_" + canto+ "_" + num + "_" + pos)
spanoccorrenza.attr('data-cg', catgram) spanoccorrenza.attr('data-cg', catgram)