diff --git a/src/options.ts b/src/options.ts index 27739702..de804cde 100644 --- a/src/options.ts +++ b/src/options.ts @@ -271,6 +271,8 @@ function invidiousOnClick(checkbox: HTMLInputElement, option: string) { if (!granted) { Config.config[option] = false; checkbox.checked = false; + } else { + checkbox.checked = true; } }); } else { @@ -428,4 +430,4 @@ function validateServerAddress(input: string): string { } return input; -} \ No newline at end of file +}