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

Unified Diff: chrome/content/options.js

Issue 29366643: Issue 4682 - Remove typo collection functionality from URL Fixer (Closed) Base URL: https://hg.adblockplus.org/urlfixer
Patch Set: Removed some leftovers Created Dec. 8, 2016, 12:47 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 | « no previous file | chrome/content/options.xul » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/options.js
===================================================================
--- a/chrome/content/options.js
+++ b/chrome/content/options.js
@@ -16,21 +16,16 @@
*/
Cu.import("resource://gre/modules/Services.jsm");
let {Prefs} = require("prefs");
Prefs.addListener(onPrefChange);
window.addEventListener("unload", function() Prefs.removeListener(onPrefChange), false);
-function initCheckboxes()
-{
- E("domainOptIn").checked = Prefs.domainOptIn;
-}
-
function onItemSelected(list)
{
let button = E(list.getAttribute("_removeButton"));
let items = list.selectedItems;
button.disabled = (items.length == 0 || (items.length == 1 && !items[0].value));
}
function onFindChange()
« no previous file with comments | « no previous file | chrome/content/options.xul » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld