diff options
| author | Jez Ng | 2013-03-02 21:49:56 -0500 |
|---|---|---|
| committer | Jez Ng | 2013-03-02 22:00:59 -0500 |
| commit | 061d1b02f79c46461fd848703311864ca9cabbe9 (patch) | |
| tree | 960c0e69681a2ded5dfe6e5df76746f159186d8e /background_scripts/main.coffee | |
| parent | a83d6191de46b2827e6ad7fa6205991fa63934ec (diff) | |
| download | vimium-061d1b02f79c46461fd848703311864ca9cabbe9.tar.bz2 | |
Disable repeated tab closing. Refs #555.
Diffstat (limited to 'background_scripts/main.coffee')
| -rw-r--r-- | background_scripts/main.coffee | 2 |
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) |
