Index: lib/filterListener.js |
=================================================================== |
--- a/lib/filterListener.js |
+++ b/lib/filterListener.js |
@@ -103,17 +103,16 @@ |
filterNotifier.on("filter.removed", onFilterRemoved); |
filterNotifier.on("filter.disabled", onFilterDisabled); |
filterNotifier.on("filter.moved", onGenericChange); |
filterNotifier.on("subscription.added", onSubscriptionAdded); |
filterNotifier.on("subscription.removed", onSubscriptionRemoved); |
filterNotifier.on("subscription.disabled", onSubscriptionDisabled); |
filterNotifier.on("subscription.updated", onSubscriptionUpdated); |
- filterNotifier.on("subscription.moved", onGenericChange); |
filterNotifier.on("subscription.title", onGenericChange); |
filterNotifier.on("subscription.fixedTitle", onGenericChange); |
filterNotifier.on("subscription.homepage", onGenericChange); |
filterNotifier.on("subscription.downloadStatus", onGenericChange); |
filterNotifier.on("subscription.lastCheck", onGenericChange); |
filterNotifier.on("subscription.errors", onGenericChange); |
filterNotifier.on("load", onLoad); |
@@ -331,17 +330,17 @@ |
{ |
isDirty = 0; |
defaultMatcher.clear(); |
ElemHide.clear(); |
ElemHideEmulation.clear(); |
ElemHideExceptions.clear(); |
Snippets.clear(); |
- for (let subscription of FilterStorage.subscriptions) |
+ for (let subscription of FilterStorage.subscriptions()) |
{ |
if (!subscription.disabled) |
addFilters(subscription.filters); |
} |
} |
function onSave() |
{ |