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 = [
|
||||
["Lexend Deca", ""],
|
||||
["Renogare"],
|
||||
["OpenDyslexic"],
|
||||
["Renogare", "Renogare"],
|
||||
["OpenDyslexic", "OpenDyslexic"],
|
||||
// ["Mojangles", "Minecraft"],
|
||||
// ["Nintendo DS", "NDS12"],
|
||||
[
|
||||
|
@ -57,7 +57,7 @@ function createAccessibilityNodes() {
|
|||
<select id="acc-font">
|
||||
${FONTS.map(
|
||||
([name, value]) =>
|
||||
`<option value="${value ?? name}" selected>${name}</option>`
|
||||
`<option value="${value}" selected>${name}</option>`
|
||||
)}
|
||||
</select>
|
||||
</label><br />
|
||||
|
@ -205,7 +205,7 @@ function initializeChanges(_, loading) {
|
|||
}
|
||||
let font = window.localStorage.getItem("acc-font");
|
||||
if (font == null) {
|
||||
window.localStorage.setItem("acc-font", "Lexend Deca");
|
||||
window.localStorage.setItem("acc-font", "");
|
||||
font = window.localStorage.getItem("acc-font");
|
||||
}
|
||||
let hueOver = window.localStorage.getItem("acc-hue-over");
|
||||
|
|
Loading…
Reference in a new issue