1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 18:26:38 -04:00

remove events scripts

This commit is contained in:
2020-07-31 08:47:23 -04:00
parent 4d8bfd4543
commit 60903bbb2b
4 changed files with 130 additions and 94 deletions

View File

@ -72,13 +72,9 @@
if (active) {
activateTheme(light);
storage.setItem(pref_key, light);
// send event to SA
sa_event("triggered_light_mode"); // eslint-disable-line no-undef
} else {
activateTheme(dark);
storage.setItem(pref_key, dark);
// send event to SA
sa_event("triggered_dark_mode"); // eslint-disable-line no-undef
}
},
true