main #8
1 changed files with 2 additions and 2 deletions
|
@ -5,13 +5,13 @@ function getSGAState() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function enableSGA() {
|
function enableSGA() {
|
||||||
document.getElementById("body").style.fontFamily =
|
document.body.style.fontFamily =
|
||||||
"standardGalactic, system-ui";
|
"standardGalactic, system-ui";
|
||||||
sessionStorage.setItem("sgaEnabled", 1);
|
sessionStorage.setItem("sgaEnabled", 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
function disableSGA() {
|
function disableSGA() {
|
||||||
document.getElementById("body").style.fontFamily =
|
document.body.style.fontFamily =
|
||||||
"departure-mono, system-ui";
|
"departure-mono, system-ui";
|
||||||
sessionStorage.removeItem("sgaEnabled");
|
sessionStorage.removeItem("sgaEnabled");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue