diff --git a/common/content/modes.js b/common/content/modes.js index 76a967a0..4321e64d 100644 --- a/common/content/modes.js +++ b/common/content/modes.js @@ -160,7 +160,7 @@ var Modes = Module("modes", { }, { leave: function leave(stack) { util.timeout(function () { - if (stack.pop && !modes.main.input && !Events.isInputElement(dactyl.focusedElement)); + if (stack.pop && !modes.main.input && Events.isInputElement(dactyl.focusedElement)) modes.push(modes.INSERT); }); }