From c539c060d4792df1f43a81116c7e7c3231e3553f Mon Sep 17 00:00:00 2001 From: cesare Date: Fri, 11 Nov 2022 22:26:10 +0100 Subject: [PATCH] browsing in progress --- js/cesareBrowse.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/js/cesareBrowse.js b/js/cesareBrowse.js index b81df52..dc7912f 100644 --- a/js/cesareBrowse.js +++ b/js/cesareBrowse.js @@ -148,7 +148,7 @@ $(document).ready(function() { for (verso of listarisultativersi){ idverso='#'+verso console.log(idverso) - $(idverso).attr('class', $(idverso).attr('class').replace(" dark-blue ", "")) + $(idverso).attr('class', $(idverso).attr('class').replace(" dark-blue", "")) } if (currentMinimap!='') showMinimap(currentMinimap) @@ -339,8 +339,9 @@ $(document).ready(function() { canto=binding.get('Canto').value; //numero del verso numverso=binding.get('NumeroVerso').value; - - resultVersi.add(cantica+"_"+canto.replace(" ", "_")+"_"+numverso) + //posizione delframmento + pos=binding.get('pos').value; + resultVersi.add(cantica+"_"+canto.replace(" ", "_")+"_"+numverso+"_"+pos) }); seachbBindingsStream.on('end', () => { @@ -348,7 +349,7 @@ $(document).ready(function() { for (verso of listarisultativersi){ idverso='#'+verso console.log(idverso) - $(idverso).attr('class', $(idverso).attr('class')+" dark-blue ") + $(idverso).attr('class', $(idverso).attr('class')+" dark-blue") }