Index: lib/antiadblockInit.js |
=================================================================== |
--- a/lib/antiadblockInit.js |
+++ b/lib/antiadblockInit.js |
@@ -81,17 +81,17 @@ |
addAntiAdblockNotification(antiAdblockSubscription); |
function onSubscriptionChange(subscription) |
{ |
let url = Prefs.subscriptions_antiadblockurl; |
if (url != subscription.url) |
return; |
- if (url in FilterStorage.knownSubscriptions && !subscription.disabled) |
+ if (url in FilterStorage.knownSubscriptions && subscription.disabled) |
addAntiAdblockNotification(subscription); |
else |
removeAntiAdblockNotification(); |
} |
FilterNotifier.on("subscription.updated", onSubscriptionChange); |
FilterNotifier.on("subscription.removed", onSubscriptionChange); |
FilterNotifier.on("subscription.disabled", onSubscriptionChange); |