From 0d2549cedb4db0ef0ec1adf0e4132fab53005056 Mon Sep 17 00:00:00 2001 From: uwaa Date: Wed, 19 Feb 2025 04:33:46 +0000 Subject: [PATCH] remove garbage i dont even know why this is here --- static/rot/rot.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/static/rot/rot.js b/static/rot/rot.js index 849631fa..32121ba0 100644 --- a/static/rot/rot.js +++ b/static/rot/rot.js @@ -32,12 +32,6 @@ console.log("Setting music: " + url); audio.src = url; playMusic(); - } else { - try { - // This line will cause a lot of errors. - // Setting src to "" will cause any pending .play()s to fail. - audio.src = ""; - } catch {} } }