Popup: fixed menus not getting disabled
This commit is contained in:
parent
76b5f6eca1
commit
1efcc83b44
@ -145,6 +145,8 @@ function configurePopupTabs(site) {
|
|||||||
MenuTab.videoSettings.classList.remove('disabled');
|
MenuTab.videoSettings.classList.remove('disabled');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log("ext enabled?", extensionEnabled, "for site", site, "?", extensionEnabledForSite);
|
||||||
|
|
||||||
if (! extensionEnabledForSite) {
|
if (! extensionEnabledForSite) {
|
||||||
MenuTab.videoSettings.classList.add('disabled');
|
MenuTab.videoSettings.classList.add('disabled');
|
||||||
if (! extensionEnabled) {
|
if (! extensionEnabled) {
|
||||||
@ -634,12 +636,12 @@ async function popup_init() {
|
|||||||
validateCustomAr();
|
validateCustomAr();
|
||||||
});
|
});
|
||||||
|
|
||||||
autoarFrequencyInputField.addEventListener("blur", (event) => {
|
// autoarFrequencyInputField.addEventListener("blur", (event) => {
|
||||||
validateAutoArTimeout();
|
// validateAutoArTimeout();
|
||||||
});
|
// });
|
||||||
autoarFrequencyInputField.addEventListener("mouseleave", (event) => {
|
// autoarFrequencyInputField.addEventListener("mouseleave", (event) => {
|
||||||
validateAutoArTimeout();
|
// validateAutoArTimeout();
|
||||||
});
|
// });
|
||||||
|
|
||||||
hideWarning("script-not-running-warning");
|
hideWarning("script-not-running-warning");
|
||||||
getSite();
|
getSite();
|
||||||
|
Loading…
Reference in New Issue
Block a user