mirror of
https://github.com/lawrencehook/remove-youtube-suggestions.git
synced 2026-07-25 06:54:31 +00:00
Fix gray-out bug
This commit is contained in:
@@ -14,6 +14,7 @@ browser.runtime.onInstalled.addListener(object => {
|
||||
|
||||
// Change the browserAction icon if the extension is disabled
|
||||
browser.storage.onChanged.addListener((changes, area) => {
|
||||
const changedItems = Object.keys(changes);
|
||||
for (const item of changedItems) {
|
||||
if (item === 'global_enable') {
|
||||
if (changes[item].newValue === false) {
|
||||
|
||||
Reference in New Issue
Block a user