1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 10:18:00 +01:00

Reset the autocomplete timer before hiding the completions list to prevent an apparant race.

This commit is contained in:
Kris Maglione
2008-10-08 03:50:26 +00:00
parent 4ff5adcc4e
commit 17dcbd142c

View File

@@ -591,6 +591,7 @@ liberator.CommandLine = function () //{{{
{
multilineInputWidget.collapsed = true;
outputContainer.collapsed = true;
autocompleteTimer.reset();
completionList.hide();
completions = [];
this.resetCompletions();
@@ -713,6 +714,7 @@ liberator.CommandLine = function () //{{{
currentExtendedMode = null; /* Don't let modes.pop trigger "cancel" */
history.add(command);
liberator.modes.pop(true);
autocompleteTimer.reset();
completionList.hide();
liberator.focusContent(false);
liberator.statusline.updateProgress(""); // we may have a "match x of y" visible