mirror of
https://github.com/rramiachraf/dumb.git
synced 2025-04-04 21:37:38 +03:00
fix cached annotations not displaying
This commit is contained in:
parent
903d4ca99b
commit
679f34678c
4 changed files with 20 additions and 20 deletions
|
@ -14,6 +14,7 @@ document.querySelectorAll("#lyrics a").forEach(item => {
|
|||
|
||||
function getAnnotation(e) {
|
||||
e.preventDefault()
|
||||
//document.querySelector('.annotation')?.remove()
|
||||
const uri = e.target.parentElement.getAttribute("href")
|
||||
const presentAnnotation = document.getElementById(uri)
|
||||
if (presentAnnotation) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue