Update js/main.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
+2
-2
@@ -102,6 +102,6 @@ document.addEventListener("keydown", function (event) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize theme when DOM is ready
|
* Initialize theme as early as possible
|
||||||
*/
|
*/
|
||||||
document.addEventListener("DOMContentLoaded", initTheme);
|
initTheme();
|
||||||
|
|||||||
Reference in New Issue
Block a user