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; |