2022-10-08 21:46:48 +00:00
|
|
|
const fullAbout = document.querySelector("#about #full_about")
|
|
|
|
const summary = document.querySelector("#about #summary")
|
|
|
|
|
|
|
|
function showAbout() {
|
|
|
|
summary.classList.toggle("hidden")
|
|
|
|
fullAbout.classList.toggle("hidden")
|
|
|
|
}
|
|
|
|
|
|
|
|
[fullAbout, summary].forEach(item => item.onclick = showAbout)
|
|
|
|
|
2022-07-01 22:40:13 +00:00
|
|
|
document.querySelectorAll("#lyrics a").forEach(item => {
|
2022-06-30 20:32:56 +00:00
|
|
|
item.addEventListener("click", getAnnotation)
|
|
|
|
})
|
|
|
|
|
|
|
|
function getAnnotation(e) {
|
|
|
|
e.preventDefault()
|
2022-10-26 22:19:03 +00:00
|
|
|
//const uri = e.target.parentElement.getAttribute("href")
|
|
|
|
console.log("Annotations are not yet implemented!")
|
2022-06-30 20:32:56 +00:00
|
|
|
}
|