diff options
Diffstat (limited to 'shtml/initScripts.shtml')
-rw-r--r-- | shtml/initScripts.shtml | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/shtml/initScripts.shtml b/shtml/initScripts.shtml deleted file mode 100644 index d4955f3..0000000 --- a/shtml/initScripts.shtml +++ /dev/null @@ -1,17 +0,0 @@ -<script src="/js/initImages.js" type="text/javascript"></script> -<script src="/js/setTheme.js" type="text/javascript"></script> -<script src="/js/toggleTheme.js" type="text/javascript"></script> - -<script type="text/javascript"> - (function() { - initImages(); - - let theme = localStorage.getItem("theme"); - - if (!theme) { - theme = "dark"; - } - - setTheme(theme); - })(); -</script> |