modificato cambio canto
This commit is contained in:
parent
08cc9a17c7
commit
b88da1354f
|
@ -445,7 +445,7 @@ $(" ."+formaClass).hover(function(idx, element) {
|
||||||
var periodograph=document.getElementById("periodograph");
|
var periodograph=document.getElementById("periodograph");
|
||||||
|
|
||||||
if (periodograph!=null){
|
if (periodograph!=null){
|
||||||
let showngr=document.getElementById("periodograph").getAttribute('name').split("_")
|
let showngr=periodograph.getAttribute('name').split("_")
|
||||||
var tmpsent=showngr[0]+"_"+showngr[1]+"_s_"+showngr[2];
|
var tmpsent=showngr[0]+"_"+showngr[1]+"_s_"+showngr[2];
|
||||||
if (shownSentenceList.has(tmpsent)){
|
if (shownSentenceList.has(tmpsent)){
|
||||||
lisid=''
|
lisid=''
|
||||||
|
@ -455,11 +455,9 @@ $(" ."+formaClass).hover(function(idx, element) {
|
||||||
$("#periodograph").empty()
|
$("#periodograph").empty()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$(cantoDisplayed).css("display", "none");
|
||||||
|
|
||||||
|
|
||||||
$('.canto').each(function() {
|
|
||||||
$(this).css("display", "none");
|
|
||||||
});
|
|
||||||
const cid=$(this).attr('name').replace(" ", "_");
|
const cid=$(this).attr('name').replace(" ", "_");
|
||||||
|
|
||||||
cantoDisplayed = "#"+cid;
|
cantoDisplayed = "#"+cid;
|
||||||
|
|
Loading…
Reference in New Issue