diff --git a/chrome/content/vimperator/events.js b/chrome/content/vimperator/events.js index 7538038d..653e561e 100644 --- a/chrome/content/vimperator/events.js +++ b/chrome/content/vimperator/events.js @@ -655,9 +655,9 @@ function Events() //{{{ vimperator.input.pendingArgMap = null; vimperator.input.pendingMotionMap = null; - if (vimperator.hasMode(vimperator.modes.COMMAND_LINE)) - stop = false; // command was not a vimperator command, maybe it is a firefox command - else + stop = false; // command was not a vimperator command, maybe it is a firefox command + + if (!vimperator.hasMode(vimperator.modes.COMMAND_LINE)) vimperator.beep(); }