1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-05 21:34:19 +01:00

Silently pop the mode stack on command accept.

This commit is contained in:
Kris Maglione
2008-09-16 00:29:37 +00:00
parent 52ea644035
commit 5b39351611

View File

@@ -611,9 +611,9 @@ liberator.CommandLine = function () //{{{
if (liberator.events.isAcceptKey(key))
{
var mode = currentExtendedMode; // save it here, as setMode() resets it
currentExtendedMode = null;
currentExtendedMode = null; /* Don't let modes.pop trigger "cancel" */
history.add(command);
liberator.modes.pop();
liberator.modes.pop(true);
completionlist.hide();
liberator.focusContent(false);
liberator.statusline.updateProgress(""); // we may have a "match x of y" visible