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.d/main_static.js | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/music/player.d/main_static.js') 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