feat: update seasonal options in config page and improve descriptions; add version 1.3.4.0 to manifest

This commit is contained in:
CodeDevMLH
2025-12-24 02:41:56 +01:00
parent 726d172625
commit 4e64e863e3
7 changed files with 52 additions and 39 deletions

View File

@@ -121,6 +121,7 @@ function loadThemeJS(jsPath) {
const script = document.createElement('script');
script.src = jsPath;
script.defer = true;
script.onerror = () => {
console.error(`Failed to load JS: ${jsPath}`);
@@ -201,9 +202,5 @@ async function initializeTheme() {
removeSelf();
}
// Ensure DOM is ready before initializing
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', initializeTheme);
} else {
initializeTheme();
}
initializeTheme();