Disabling auto skip now enables the notice.

This commit is contained in:
Ajay Ramachandran 2020-02-08 23:28:41 -05:00
parent 9026044528
commit 40cddbf8ee

View file

@ -50,6 +50,16 @@ async function init() {
switch (option) {
case "supportInvidious":
invidiousOnClick(checkbox, option);
break;
case "disableAutoSkip":
if (!checkbox.checked) {
// Enable the notice
Config.config["dontShowNotice"] = false;
let showNoticeSwitch = <HTMLInputElement> document.querySelector("[sync-option='dontShowNotice'] > label > label > input");
showNoticeSwitch.checked = true;
}
break;
}
});