1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-11-26 07:46:06 -05:00

more deprecated addListeners

This commit is contained in:
2022-04-26 12:48:38 -04:00
parent d5ff5f2898
commit 6ab0c5a97f
3 changed files with 6 additions and 24 deletions

View File

@@ -10,7 +10,7 @@ export const clientScript = () => {
var dark = "dark";
var newTheme;
// user's saved preference
var pref = localStorage.getItem("__STORAGE_KEY__");
var pref = window.localStorage.getItem("__STORAGE_KEY__");
// map of theme -> classname
var classNames = "__CLASS_NAMES__";
// the list of <html>'s current class(es)...