major database optimisations
Signed-off-by: ari melody <ari@arimelody.me>
This commit is contained in:
parent
4f488d7bd8
commit
9f1a64b59b
10 changed files with 248 additions and 188 deletions
|
@ -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();
|
||||
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue