Fixed high contrast selection status.
This commit is contained in:
parent
c78d20d241
commit
7de41b6892
1 changed files with 2 additions and 0 deletions
|
|
@ -22,6 +22,8 @@ export const bindConfig = () => {
|
||||||
input.checked = true;
|
input.checked = true;
|
||||||
} else if (input.value === 'dyslexia' && (localStorage.af_enabled === '1' && localStorage.af_mode === 'df')) {
|
} else if (input.value === 'dyslexia' && (localStorage.af_enabled === '1' && localStorage.af_mode === 'df')) {
|
||||||
input.checked = true;
|
input.checked = true;
|
||||||
|
} else if (input.value === 'hc' && (localStorage.af_enabled === '1' && localStorage.af_mode === 'hc')) {
|
||||||
|
input.checked = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
input.addEventListener('change', (evt) => {
|
input.addEventListener('change', (evt) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue