diff --git a/common/content/modes.js b/common/content/modes.js index 0f5ba7a7..93c81e1e 100644 --- a/common/content/modes.js +++ b/common/content/modes.js @@ -487,7 +487,7 @@ var Modes = Module("modes", { function () { events.feedkeys(""); }); }, prefs: function () { - prefs.watch("accessibility.browsewithcaret", modes.closure.onCaretChange); + prefs.watch("accessibility.browsewithcaret", function () modes.onCaretChange.apply(modes, arguments)); } });