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

Unified Diff: chrome/content/ui/firstRun.js

Issue 11533106: Prepared adblockplus for Safari (Closed)
Patch Set: Created Sept. 19, 2013, 2:27 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
Index: chrome/content/ui/firstRun.js
===================================================================
--- a/chrome/content/ui/firstRun.js
+++ b/chrome/content/ui/firstRun.js
@@ -53,6 +53,11 @@
setLinks("dataCorruptionWarning", Utils.getDocLink("knownIssuesChrome_filterstorage"));
}
+ // Show warning if Safari < 6
+ var info = require('info');
Felix Dahlke 2013/10/15 10:31:23 Wladimir requested double quotes here, that's in l
Sebastian Noack 2013/10/18 14:40:41 I must have been overlooked that string. I'll fix
+ if (info.platform == "safari" && Services.vc.compare(info.platformVersion, "6.0") < 0)
Felix Dahlke 2013/10/15 10:31:23 Looks like the indentation is off here, should be
Sebastian Noack 2013/10/18 14:40:41 I'll fix that.
+ E("legacySafariWarning").removeAttribute("hidden");
+
// Set up URL
setLinks("acceptableAdsExplanation", Utils.getDocLink("acceptable_ads_criteria"), openFilters);

Powered by Google App Engine
This is Rietveld