aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/main.coffee
diff options
context:
space:
mode:
authorJez Ng2013-03-02 21:49:56 -0500
committerJez Ng2013-03-02 22:00:59 -0500
commit061d1b02f79c46461fd848703311864ca9cabbe9 (patch)
tree960c0e69681a2ded5dfe6e5df76746f159186d8e /background_scripts/main.coffee
parenta83d6191de46b2827e6ad7fa6205991fa63934ec (diff)
downloadvimium-061d1b02f79c46461fd848703311864ca9cabbe9.tar.bz2
Disable repeated tab closing. Refs #555.
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 03c2277a..5980e844 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -478,6 +478,8 @@ checkKeyQueue = (keysToCheck, tabId, frameId) ->
else
if registryEntry.passCountToFunction
BackgroundCommands[registryEntry.command](count)
+ else if registryEntry.noRepeat
+ BackgroundCommands[registryEntry.command]()
else
repeatFunction(BackgroundCommands[registryEntry.command], count, 0, frameId)