Fix invidious enabling error

This commit is contained in:
Ajay Ramachandran 2020-02-04 02:15:06 -05:00
parent 2f7a4bdb36
commit 46ffb330fc

View file

@ -144,7 +144,8 @@ class Utils {
id: id
});
}
} else {
} else if (chrome.declarativeContent) {
// Only if we have permission
chrome.declarativeContent.onPageChanged.removeRules(["invidious"]);
}