Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/subscriptionInit.js

Issue 29845576: Issue 6832 - Easylist was not re-added if the anti-circumvention list existed (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome/
Patch Set: Removed unrelated change Created Aug. 2, 2018, 10:58 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/subscriptionInit.js
===================================================================
--- a/lib/subscriptionInit.js
+++ b/lib/subscriptionInit.js
@@ -70,17 +70,18 @@
* @return {boolean}
*/
function shouldAddDefaultSubscriptions()
{
for (let subscription of FilterStorage.subscriptions)
{
if (subscription instanceof DownloadableSubscription &&
subscription.url != Prefs.subscriptions_exceptionsurl &&
- subscription.url != Prefs.subscriptions_antiadblockurl)
+ subscription.url != Prefs.subscriptions_antiadblockurl &&
+ subscription.type != "circumvention")
return false;
if (subscription instanceof SpecialSubscription &&
subscription.filters.length > 0)
return false;
}
return true;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld