mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-10-21 05:06:22 -04:00
more deprecated addListeners
This commit is contained in:
3 files changed
+6
-24
No files matched your search
@@ -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)...
|
||||
|
||||
Reference in new issue
Block a user