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: Changes to opt-in notification text Created Oct. 19, 2012, 3:14 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
« lib/typoRules.js ('K') | « 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;
« lib/typoRules.js ('K') | « lib/typoSurvey.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld