Oops
This commit is contained in:
parent
2099648300
commit
100ec476e1
1 changed files with 4 additions and 4 deletions
|
@ -14,8 +14,8 @@ var propagateStyles = propagateStyles ?? null;
|
||||||
|
|
||||||
const FONTS = [
|
const FONTS = [
|
||||||
["Lexend Deca", ""],
|
["Lexend Deca", ""],
|
||||||
["Renogare"],
|
["Renogare", "Renogare"],
|
||||||
["OpenDyslexic"],
|
["OpenDyslexic", "OpenDyslexic"],
|
||||||
// ["Mojangles", "Minecraft"],
|
// ["Mojangles", "Minecraft"],
|
||||||
// ["Nintendo DS", "NDS12"],
|
// ["Nintendo DS", "NDS12"],
|
||||||
[
|
[
|
||||||
|
@ -57,7 +57,7 @@ function createAccessibilityNodes() {
|
||||||
<select id="acc-font">
|
<select id="acc-font">
|
||||||
${FONTS.map(
|
${FONTS.map(
|
||||||
([name, value]) =>
|
([name, value]) =>
|
||||||
`<option value="${value ?? name}" selected>${name}</option>`
|
`<option value="${value}" selected>${name}</option>`
|
||||||
)}
|
)}
|
||||||
</select>
|
</select>
|
||||||
</label><br />
|
</label><br />
|
||||||
|
@ -205,7 +205,7 @@ function initializeChanges(_, loading) {
|
||||||
}
|
}
|
||||||
let font = window.localStorage.getItem("acc-font");
|
let font = window.localStorage.getItem("acc-font");
|
||||||
if (font == null) {
|
if (font == null) {
|
||||||
window.localStorage.setItem("acc-font", "Lexend Deca");
|
window.localStorage.setItem("acc-font", "");
|
||||||
font = window.localStorage.getItem("acc-font");
|
font = window.localStorage.getItem("acc-font");
|
||||||
}
|
}
|
||||||
let hueOver = window.localStorage.getItem("acc-hue-over");
|
let hueOver = window.localStorage.getItem("acc-hue-over");
|
||||||
|
|
Loading…
Reference in a new issue