aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/main.coffee
diff options
context:
space:
mode:
authorStephen Blott2016-02-20 12:08:58 +0000
committerStephen Blott2016-02-20 12:08:58 +0000
commit2debf3e07ecc41e8d0c3c186f4d8ae39641426f4 (patch)
tree834b61e967fc74ea2e43c7e1fbc51341f9542a43 /background_scripts/main.coffee
parent5dc1a741a897400e64d68b8248c0557970d04a61 (diff)
parentc818edb5e0e1a1edbcccfb2b978bf2e535de9fb4 (diff)
downloadvimium-2debf3e07ecc41e8d0c3c186f4d8ae39641426f4.tar.bz2
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'background_scripts/main.coffee')
-rw-r--r--background_scripts/main.coffee2
1 files changed, 2 insertions, 0 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index c824db88..0e043159 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -534,6 +534,8 @@ checkKeyQueue = (keysToCheck, tabId, frameId) ->
"""
if runCommand
+ # Account for any command-option "count".
+ count *= registryEntry.options.count ? 1
if not registryEntry.isBackgroundCommand
chrome.tabs.sendMessage tabId,
name: "executePageCommand"