summaryrefslogtreecommitdiffstats
path: root/src/js/contextmenu.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/contextmenu.js')
-rw-r--r--src/js/contextmenu.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/js/contextmenu.js b/src/js/contextmenu.js
index abf0582..788b62b 100644
--- a/src/js/contextmenu.js
+++ b/src/js/contextmenu.js
@@ -200,7 +200,11 @@ let currentBits = 0;
const update = function(tabId = undefined) {
let newBits = 0;
- if ( µb.userSettings.contextMenuEnabled && tabId !== undefined ) {
+ if (
+ µb.userSettings.contextMenuEnabled &&
+ µb.userFiltersAreEnabled() &&
+ tabId !== undefined
+ ) {
const pageStore = µb.pageStoreFromTabId(tabId);
if ( pageStore && pageStore.getNetFilteringSwitch() ) {
if ( pageStore.shouldApplySpecificCosmeticFilters(0) ) {