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

Unified Diff: options.js

Issue 29523647: Issue 5555 - [webextensions] Add a message for Firefox users on the options page (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome
Patch Set: Adjusted message again Created Aug. 23, 2017, 1:30 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 | « options.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: options.js
===================================================================
--- a/options.js
+++ b/options.js
@@ -113,16 +113,19 @@ function loadOptions()
{
if (platform == "chromium" && application != "opera")
application = "chrome";
getDocLink(application + "_support", url =>
{
setLinks("found-a-bug", url);
});
+
+ if (platform == "gecko")
+ $("#firefox-warning").removeAttr("hidden");
});
});
// Add event listeners
$("#updateFilterLists").click(updateFilterLists);
$("#startSubscriptionSelection").click(startSubscriptionSelection);
$("#subscriptionSelector").change(updateSubscriptionSelection);
$("#addSubscription").click(addSubscriptionClicked);
« no previous file with comments | « options.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld