This commit is contained in:
Luca Trupiano 2022-11-14 12:29:37 +01:00
commit ad773b35ac
2 changed files with 4 additions and 34 deletions

View File

@ -278,20 +278,3 @@ p{
border: 1px solid white;
}
/* Autocomplete */
#aco {
border: 1px dotted #ccc;
padding: 3px;
}
#aco ul {
list-style-type: none;
padding: 0;
margin: 0;
}
#aco ul li {
padding: 5px 0;
}
#aco ul li:hover {
background: #eee;
}

View File

@ -176,9 +176,6 @@ jQuery(document).delegate('#cleanresult', 'click', function(e) {
function showMinimap(element) {
minimap.className = 'minimap_container'
minimapSize.className = 'minimap_size'
viewer.className = 'minimap_viewer'
@ -190,7 +187,7 @@ jQuery(document).delegate('#cleanresult', 'click', function(e) {
document.body.appendChild(minimap)
let html = document.getElementById(element).innerHTML
//console.log(html)
console.log(html)
let iFrameDoc = minimapContent.contentWindow.document;
iFrameDoc.open();
@ -314,7 +311,8 @@ jQuery(document).delegate('#cleanresult', 'click', function(e) {
licanto.attr('name', cantica + canto)
licanto.attr('href', "#")
licanto.attr("style", "line-height: 1.2em")
licanto.append(canto)
numcanto=canto.split(" ")[1]
licanto.append(numcanto)
//licanto.appendTo('#listacanti')
licanto.appendTo(divListaCanti)
@ -335,17 +333,6 @@ jQuery(document).delegate('#cleanresult', 'click', function(e) {
var elementoverso = $('<p />')
vartestoverso=verso.numverso;
elementoverso.append(verso.numverso + ". ")
/*arrayVerso=managePunctuation(verso.verso).split(" ");
for (wpos in arrayVerso){
var divoccorrenza=$('<span />')
var pos=parseInt(verso.from)+parseInt(wpos)
divoccorrenza.attr('id', verso.cantica+"_"+ verso.canto.replace(" ", "_")+"_"+verso.numverso+"_"+pos)
divoccorrenza.append(arrayVerso[wpos])
divoccorrenza.appendTo(elementoverso)
elementoverso.append('&nbsp;')
}*/
//elementoverso.append(verso.numverso + ". " + managePunctuation(verso.verso))
elementoverso.attr("style", "line-height: 0.5em")
elementoverso.attr('class', 'f6 font-weight-lighter')
@ -398,7 +385,7 @@ jQuery(document).delegate('#cleanresult', 'click', function(e) {
listarisultativersi = Array.from(resultVersi)
for (verso of listarisultativersi){
idverso='#'+verso
console.log(idverso)
//console.log(idverso)
$(idverso).attr('class', "f6 b dark-blue ")
}