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

Unified Diff: options.js

Issue 29339672: Issue 3915 - Avoid listing special subscriptions (adblockpluschrome) (Closed)
Patch Set: Created April 13, 2016, 8:07 a.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: options.js
diff --git a/options.js b/options.js
index 2d01e713331036259ac4423439a4b31d600d6e64..a1c2c025aaf0b37ac669321690d82d835d808be1 100644
--- a/options.js
+++ b/options.js
@@ -471,7 +471,7 @@ function onSubscriptionMessage(action, subscription)
case "added":
if (subscription.url == acceptableAdsUrl)
$("#acceptableAds").prop("checked", true);
- else if (!element)
+ else if (!subscription.isSpecial && !element)
addSubscriptionEntry(subscription);
break;
case "removed":
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld