modificato cambio canto

This commit is contained in:
cesare 2023-02-23 10:46:02 +01:00
parent 08cc9a17c7
commit b88da1354f
1 changed files with 3 additions and 5 deletions

View File

@ -445,7 +445,7 @@ $(" ."+formaClass).hover(function(idx, element) {
var periodograph=document.getElementById("periodograph");
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];
if (shownSentenceList.has(tmpsent)){
lisid=''
@ -456,10 +456,8 @@ $(" ."+formaClass).hover(function(idx, element) {
}
$(cantoDisplayed).css("display", "none");
$('.canto').each(function() {
$(this).css("display", "none");
});
const cid=$(this).attr('name').replace(" ", "_");
cantoDisplayed = "#"+cid;