I FIXED ROUTING!!!!! YIPPEEEEEEE

Signed-off-by: ari melody <ari@arimelody.me>
This commit is contained in:
ari melody 2024-04-16 21:24:05 +01:00
parent 13d802d361
commit b42b37ff9c
11 changed files with 113 additions and 57 deletions

View file

@ -1,5 +1,7 @@
import "./main.js";
document.querySelectorAll("h1.music-title").forEach(element => {
element.href = "";
document.addEventListener("swap", () => {
document.querySelectorAll("h1.music-title").forEach(element => {
element.href = "";
});
});