From 2bdad73cd617bea54dc0e365d216c9f5b7689ec2 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Thu, 25 Jul 2024 01:38:55 -0400 Subject: Also use DOMContentLoaded for the music player. --- libs/music/player | 2 +- libs/music/player.d/main_static.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'libs/music') diff --git a/libs/music/player b/libs/music/player index ae89d67..3ec6f29 100644 --- a/libs/music/player +++ b/libs/music/player @@ -92,7 +92,7 @@ New experimental online player with visualization. 2015.11.7 1.0.0 The online player was added. --> - +
LOADING...
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);
-- 
cgit v1.2.3