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; var ultimaFormaCanto;
let numeroPeriodo = 1; let numeroPeriodo = 1;
showingComments = false; showingComments = false;
let initmap=850*(parseInt(canto)-1)
formecantica.map(function(item) { var subformecantica=formecantica.slice(initmap)
subformecantica.map(function(item) {
formaItem = item.split("_"); formaItem = item.split("_");
var sentenceid = idcantica + "_" + formaItem[1] + "_s_" + formaItem[5] var sentenceid = idcantica + "_" + formaItem[1] + "_s_" + formaItem[5]
if (formaItem[1] == canto) { if (formaItem[1] == canto) {