stop main theme quickly

This commit is contained in:
uwaa 2025-01-10 10:53:04 +00:00
parent b79a921932
commit ac123f16fb

1
rot.js
View file

@ -112,6 +112,7 @@
//Theme application //Theme application
function applyMainTheme() { function applyMainTheme() {
console.log("Applying main theme"); console.log("Applying main theme");
setMusic(null);
setTimeout(() => { setTimeout(() => {
let pageMusic = document.querySelector('meta[name="pageMusic"]')?.content || document.getElementById("pageMusic")?.getAttribute("href"); let pageMusic = document.querySelector('meta[name="pageMusic"]')?.content || document.getElementById("pageMusic")?.getAttribute("href");
setMusic(pageMusic); setMusic(pageMusic);