Enable checkbox when the permission prompt is successful

This commit is contained in:
Ajay Ramachandran
2020-03-10 02:14:00 -04:00
committed by GitHub
parent f0bf051259
commit 030256c9e1

View File

@@ -271,6 +271,8 @@ function invidiousOnClick(checkbox: HTMLInputElement, option: string) {
if (!granted) {
Config.config[option] = false;
checkbox.checked = false;
} else {
checkbox.checked = true;
}
});
} else {