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: Changed text of legacy Safari warning as discussed Created Sept. 6, 2013, 4:54 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');
+ if (info.platform == "safari" && info.platformVersion.split(".") < [6])
+ E("legacySafariWarning").removeAttribute("hidden");
+
// Set up URL
setLinks("acceptableAdsExplanation", Utils.getDocLink("acceptable_ads_criteria"), openFilters);

Powered by Google App Engine
This is Rietveld