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: Fixed some coding style issues Created Oct. 23, 2013, 2:29 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 | « chrome/content/ui/firstRun.html ('k') | chrome/content/ui/i18n.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
+ if (info.platform == "safari" && Services.vc.compare(info.platformVersion, "6.0") < 0)
+ E("legacySafariWarning").removeAttribute("hidden");
+
// Set up URL
setLinks("acceptableAdsExplanation", Utils.getDocLink("acceptable_ads_criteria"), openFilters);
« no previous file with comments | « chrome/content/ui/firstRun.html ('k') | chrome/content/ui/i18n.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld