eliminato codice non usato

This commit is contained in:
cesare 2022-12-16 10:40:34 +01:00
parent 8d3c97097b
commit e86f6e2f25
2 changed files with 10 additions and 4 deletions

View File

@ -37,7 +37,7 @@ $(document).ready(function() {
let mappedElement = '';
resetResult=function(){
console.log('clean result')
//console.log('clean result')
cleanSearchResult()
esprlogica = []
}
@ -304,6 +304,8 @@ $(document).ready(function() {
containerForme = formeterza
if (cantica == 'Purgatorio')
containerForme = formeseconda
const endlc = performance.now();
console.log(`Load `+cantica+` time: ${endlc - start} ms`);
for (cmpItem of containerForme) {
formaItem = cmpItem.split("_")
//listaCanti = createDivCanti(listaCanti, cantica, 'Canto ' + formaItem[1])
@ -345,8 +347,8 @@ $(document).ready(function() {
var pos = parseInt(pos)
spanoccorrenza.attr('id', cantica + "_" + canto+ "_" + numverso + "_" + pos)
spanoccorrenza.attr('data-cg', catgramm)
if (listarisultati.length > 0 && listarisultati.includes(spanoccorrenza.attr('id')))
spanoccorrenza.attr('class', "font-weight-bold mark ")
//if (listarisultati.length > 0 && listarisultati.includes(spanoccorrenza.attr('id')))
// spanoccorrenza.attr('class', "font-weight-bold mark ")
spanoccorrenza.append(forma+" ")
elementoverso = $('#' + cantica + "_" + canto + "_" + numverso)
spanoccorrenza.appendTo(elementoverso)

File diff suppressed because one or more lines are too long