diff options
| author | Stephen Blott | 2015-05-03 17:22:20 +0100 |
|---|---|---|
| committer | Stephen Blott | 2015-05-03 17:22:20 +0100 |
| commit | 776f617ece5d333fe70df903982a18d65fc2776a (patch) | |
| tree | 8d4fd8e22d128629df9a1998fc1f716c08b6791e /pages | |
| parent | 7d59e948da154203722b442c477b452f7a393161 (diff) | |
| download | vimium-776f617ece5d333fe70df903982a18d65fc2776a.tar.bz2 | |
Search completion; make completion lookup asynchronous.
Diffstat (limited to 'pages')
| -rw-r--r-- | pages/vomnibar.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/vomnibar.coffee b/pages/vomnibar.coffee index 2076fea6..3fb63177 100644 --- a/pages/vomnibar.coffee +++ b/pages/vomnibar.coffee @@ -239,7 +239,7 @@ class BackgroundCompleter id = BackgroundCompleter.messageId += 1 @filterPort.onMessage.addListener handler = (msg) => if msg.id == id - @filterPort.onMessage.removeListener handler + @filterPort.onMessage.removeListener handler unless msg.keepAlive and id == BackgroundCompleter.messageId if id == BackgroundCompleter.messageId # The result objects coming from the background page will be of the form: # { html: "", type: "", url: "" } |
