major database optimisations

Signed-off-by: ari melody <ari@arimelody.me>
This commit is contained in:
ari melody 2024-03-20 03:17:34 +00:00
parent 4f488d7bd8
commit 9f1a64b59b
10 changed files with 248 additions and 188 deletions

View file

@ -28,6 +28,16 @@ function apply_funny_bob_to_upcoming_tags() {
}
}
document.querySelectorAll("div#extras ul li a[href]").forEach(link => {
link.addEventListener("click", event => {
event.preventDefault();
location.replace(link.href);
});
});
/*
* handling track previews (currently not implemented)
const previews = document.querySelectorAll("[id^=preview-]");
for (const preview of previews) {
preview.addEventListener("click", (e) => {
@ -67,3 +77,5 @@ function stopPreview(preview) {
}
stopPreviews();
*/