main #8

Closed
limepotato wants to merge 183 commits from main into blog-drafts
Showing only changes of commit 5705a15dce - Show all commits

View file

@ -1,13 +1,5 @@
function onload() {
if (!localStorage.getItem('sgaEnabled')) {
disableSGA()
}
if (localStorage.getItem('sgaEnabled', true)) {
enableSGA()
}
if (localStorage.getItem('sgaEnabled', false)) {
disableSGA();
}
}
function enableSGA() {
@ -28,9 +20,9 @@ function toggleTheme() {
// elements.
// Select your element using indexing.
if (document.getElementById("body").style.fontFamily !== "standardGalactic, system-ui") {
disableSGA()
}
else {
enableSGA()
}
else {
disableSGA()
}
}