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

@ -66,4 +66,7 @@ function start() {
update_extras_buttons();
}
start();
document.addEventListener("swap", () => {
if (!window.location.pathname.startsWith("/music/")) return;
start();
});