tentativo risoluzione bottoni in lista risultati
This commit is contained in:
parent
251b3b99f7
commit
73e8a5f7a2
|
@ -664,9 +664,9 @@ $(document).ready(function() {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function addFormaListenersInCanto() {
|
function addFormaListenersInCanto(cantoCitazione = cantoDisplayed) {
|
||||||
let idn = 0
|
let idn = 0
|
||||||
$(cantoDisplayed).find(" ." + formaClass).each(function(idx, element) {
|
$(cantoCitazione).find(" ." + formaClass).each(function(idx, element) {
|
||||||
idn = idn + 1
|
idn = idn + 1
|
||||||
var ele = $(element);
|
var ele = $(element);
|
||||||
|
|
||||||
|
@ -1869,17 +1869,9 @@ $(document).ready(function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(loadedCanti.has(cid))) {
|
if (!(loadedCanti.has(cid))) {
|
||||||
|
//loadCommentsBottons(cid,formeCanto, numCantica, canto)
|
||||||
showCanto(formeCanto, numCantica, canto)
|
showCanto(formeCanto, numCantica, canto)
|
||||||
loadedCanti.add(cid)
|
loadedCanti.add(cid)
|
||||||
//drawMinimap(cid, false)
|
|
||||||
|
|
||||||
/*initCitazioni(cid);
|
|
||||||
$(cid).find(" .showcomments").each(function() {
|
|
||||||
$(this).css("display", "inline-block");
|
|
||||||
})*/
|
|
||||||
/*minim.contents().find(" .showcomments").each(function() {
|
|
||||||
$(this).css('display', 'inline-block');
|
|
||||||
})*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
verso = commentoRisultato[3];
|
verso = commentoRisultato[3];
|
||||||
|
@ -1921,6 +1913,12 @@ $(document).ready(function() {
|
||||||
|
|
||||||
return verso;
|
return verso;
|
||||||
}
|
}
|
||||||
|
async function loadCommentsBottons(cid,formeCanto, numCantica, canto) {
|
||||||
|
await initCitazioni(cid)
|
||||||
|
showCanto(formeCanto, numCantica, canto)
|
||||||
|
drawMinimap(cid, false)
|
||||||
|
addFormaListenersInCanto();
|
||||||
|
}
|
||||||
function executeLocalSearch(testo, forme, limit, cantica, cont, resultsInCantica, resultsInCanto) {
|
function executeLocalSearch(testo, forme, limit, cantica, cont, resultsInCantica, resultsInCanto) {
|
||||||
|
|
||||||
for (var ip = 0; ip <= limit; ip++) {
|
for (var ip = 0; ip <= limit; ip++) {
|
||||||
|
|
Loading…
Reference in New Issue