ottimizzazione showcanto

This commit is contained in:
cesare 2025-03-19 13:02:49 +01:00
parent b77cefa54e
commit 22fbd9371e
1 changed files with 3 additions and 2 deletions

View File

@ -2093,8 +2093,9 @@ $(document).ready(function() {
var ultimaFormaCanto;
let numeroPeriodo = 1;
showingComments = false;
formecantica.map(function(item) {
let initmap=850*(parseInt(canto)-1)
var subformecantica=formecantica.slice(initmap)
subformecantica.map(function(item) {
formaItem = item.split("_");
var sentenceid = idcantica + "_" + formaItem[1] + "_s_" + formaItem[5]
if (formaItem[1] == canto) {