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

Unified Diff: lib/ui.js

Issue 8559070: Integrated URL Fixer into Adblock Plus (Closed)
Patch Set: Added ability to opt-in and opt-out Created Oct. 19, 2012, 9:14 a.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 | « lib/typoSurvey.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/ui.js
===================================================================
--- a/lib/ui.js
+++ b/lib/ui.js
@@ -124,6 +124,13 @@
this.value = UI.toggleSync();
});
+ setChecked("adblockplus-typoCorrection", Prefs.correctTypos);
+ addCommandHandler("adblockplus-typoCorrection", function()
+ {
+ Prefs.correctTypos = !Prefs.correctTypos;
+ this.value = Prefs.correctTypos;
+ });
+
let window = null;
for (window in UI.applicationWindows)
break;
« no previous file with comments | « lib/typoSurvey.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld