diff options
| author | Stephen Blott | 2014-08-23 15:01:03 +0100 | 
|---|---|---|
| committer | Stephen Blott | 2014-08-23 15:01:03 +0100 | 
| commit | 3581b585acf996fb8515c11d30682269557301c2 (patch) | |
| tree | e777352c72c33887b21f5e47717df5da82b5b75a /background_scripts/main.coffee | |
| parent | f037e83763b1b62e048e1fc433d52b9564ce3ba0 (diff) | |
| download | vimium-3581b585acf996fb8515c11d30682269557301c2.tar.bz2 | |
Allow passing of keys to the underlying page (minor code review).
Diffstat (limited to 'background_scripts/main.coffee')
| -rw-r--r-- | background_scripts/main.coffee | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index e32027b6..6d986187 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -512,10 +512,10 @@ handleKeyDown = (request, port) ->      console.log("checking keyQueue: [", keyQueue + key, "]")      keyQueue = checkKeyQueue(keyQueue + key, port.sender.tab.id, request.frameId)      console.log("new KeyQueue: " + keyQueue) -  # Tell the front end whether there are keys in the queue.  If there are, then subsequent keys in passKeys will be +  # Tell the content script whether there are keys in the queue.  If there are, then subsequent keys in passKeys will be    # handled by vimium.    # FIXME: There is a race condition here.  The behaviour depends upon whether this message gets back -  # to the front end before the next keystroke or not. +  # to the content script before the next keystroke or not.    chrome.tabs.sendMessage(port.sender.tab.id,      name: "currentKeyQueue",      keyQueue: keyQueue)  | 
