aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/main.coffee
diff options
context:
space:
mode:
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"