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 | |
| parent | f037e83763b1b62e048e1fc433d52b9564ce3ba0 (diff) | |
| download | vimium-3581b585acf996fb8515c11d30682269557301c2.tar.bz2 | |
Allow passing of keys to the underlying page (minor code review).
| -rw-r--r-- | background_scripts/main.coffee | 4 | ||||
| -rw-r--r-- | pages/options.html | 2 |
2 files changed, 3 insertions, 3 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) diff --git a/pages/options.html b/pages/options.html index fc0f189d..07dcab1d 100644 --- a/pages/options.html +++ b/pages/options.html @@ -217,7 +217,7 @@ not too much smaller than its help text (above). --> <!-- FIXME: This text area should really be broken out into an array - separate inputs. However, the whole options page really + of separate inputs. However, the whole options page really needs a workover, so I'm leaving it like this, for now (Steve, 23 Aug, 14). --> <textarea id="excludedUrls" style="min-height:180px"></textarea> |
