mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-11 00:07:55 +00:00
fix: more opendyslexic stuff
This commit is contained in:
parent
9a4699da46
commit
196a71e1b1
2 changed files with 2 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ import DiscordLogin from "./pages/DiscordLogin.svelte";
|
|||
onMount(() => {
|
||||
let settings = JSON.parse(localStorage.getItem("pk-settings"));
|
||||
|
||||
if (settings && settings.accessibility.opendyslexic === true) {
|
||||
if (settings && settings.accessibility && settings.accessibility.opendyslexic === true) {
|
||||
document.getElementById("app").classList.add("dyslexic");
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue