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

Unified Diff: lib/ui.js

Issue 4759471792324608: Issue 1712 - Don't add "Adblock Warning Removal List" subscription on Fennec (Closed)
Patch Set: Created Dec. 22, 2014, 12:08 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: lib/ui.js
===================================================================
--- a/lib/ui.js
+++ b/lib/ui.js
@@ -817,7 +817,7 @@
}
// Add "anti-adblock messages" subscription for new users and users updating from old ABP versions
- if (Services.vc.compare(prevVersion, "2.5") < 0)
+ if ((Services.vc.compare(prevVersion, "2.5") < 0) && !Utils.isFennec)
Wladimir Palant 2015/01/06 13:18:12 I guess there is a misunderstanding here - not add
saroyanm 2015/01/06 16:03:07 Thanks for pointing this out, but don't we also ne
Wladimir Palant 2015/01/06 17:05:21 It is normally being enabled via the opt-in prompt
saroyanm 2015/01/06 17:32:36 The prompt is not showing up on mobile unfortunate
{
let subscription = Subscription.fromURL(Prefs.subscriptions_antiadblockurl);
if (subscription && !(subscription.url in FilterStorage.knownSubscriptions))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld