diff options
Diffstat (limited to 'include/initScripts.shtml')
-rw-r--r-- | include/initScripts.shtml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/initScripts.shtml b/include/initScripts.shtml new file mode 100644 index 0000000..86feb76 --- /dev/null +++ b/include/initScripts.shtml @@ -0,0 +1,15 @@ +<script src="/js/initImages.js" type="text/javascript"></script> +<script src="/js/loadPage.js" type="text/javascript"></script> +<script src="/js/setNavBarState.js" type="text/javascript"></script> +<script src="/js/setTheme.js" type="text/javascript"></script> +<script src="/js/toggleNavBar.js" type="text/javascript"></script> +<script src="/js/toggleTheme.js" type="text/javascript"></script> + +<script type="text/javascript"> + (function() { + let theme = JSON.parse(localStorage.getItem("theme")); + setTheme(theme); + + initImages(); + })(); +</script> |