fix lyrics caption
This commit is contained in:
parent
9c3fe5ca61
commit
ec13b75a2f
3 changed files with 6 additions and 4 deletions
|
@ -1158,8 +1158,8 @@ const app = new Vue({
|
|||
})
|
||||
}
|
||||
}
|
||||
} else if (app.currentLyricsLine == 0) {
|
||||
if (!document.querySelector(`.lyric-line[line-index="0"]`).classList.contains("active"))
|
||||
} else if (app.currentLyricsLine == 0) {
|
||||
if (document.querySelector(`.lyric-line[line-index="0"]`) && !document.querySelector(`.lyric-line[line-index="0"]`).classList.contains("active"))
|
||||
document.querySelector(`.lyric-line[line-index="0"]`).classList.add("active");
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue