Fixed high contrast selection status.

This commit is contained in:
Benjamin A. Shelton 2026-11-26 20:19:19 -07:00
commit 7de41b6892
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -22,6 +22,8 @@ export const bindConfig = () => {
input.checked = true;
} else if (input.value === 'dyslexia' && (localStorage.af_enabled === '1' && localStorage.af_mode === 'df')) {
input.checked = true;
} else if (input.value === 'hc' && (localStorage.af_enabled === '1' && localStorage.af_mode === 'hc')) {
input.checked = true;
}
input.addEventListener('change', (evt) => {