summaryrefslogtreecommitdiff
path: root/libs/music/player.d/main_static.js
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2024-07-25 01:38:55 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2024-07-25 01:38:55 -0400
commit2bdad73cd617bea54dc0e365d216c9f5b7689ec2 (patch)
treee00ea4728f7c59eb6c6560fea94725a42f795bf2 /libs/music/player.d/main_static.js
parent4b2d13ee672b14a68b2842e6a955209ea186d9d2 (diff)
downloadweb-2bdad73cd617bea54dc0e365d216c9f5b7689ec2.tar.xz
Also use DOMContentLoaded for the music player.
Diffstat (limited to 'libs/music/player.d/main_static.js')
-rw-r--r--libs/music/player.d/main_static.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/music/player.d/main_static.js b/libs/music/player.d/main_static.js
index 4e7b8f5..cf2e610 100644
--- a/libs/music/player.d/main_static.js
+++ b/libs/music/player.d/main_static.js
@@ -832,3 +832,4 @@ function init()
NSUI.vissel.value=sh.getcookie('playervisualization');
requestAnimationFrame(NSVisualization.updateVisualization);
}
+document.addEventListener("DOMContentLoaded", init);