From a8eed85aafa881b87e340e487619f401730d3e34 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Thu, 27 Jan 2011 15:42:38 -0500 Subject: [PATCH] Don't flush the autocomplete timer on first keypress. Causes a greater percieved typing lag as the key doesn't appear until after the completion list is populated. --HG-- branch : key-processing --- common/content/commandline.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/content/commandline.js b/common/content/commandline.js index 976b04d5..27e7f3c0 100644 --- a/common/content/commandline.js +++ b/common/content/commandline.js @@ -354,8 +354,6 @@ var CommandMode = Class("CommandMode", { this.resetCompletions(); this.completions.autocompleteTimer.tell(false); - if (!this.completions.itemList.visible) - this.completions.autocompleteTimer.flush(); } this.onChange(commandline.command); },