diff options
| author | mrmr1993 | 2015-04-29 01:56:14 +0100 |
|---|---|---|
| committer | mrmr1993 | 2015-04-29 01:56:14 +0100 |
| commit | 92b3c36a57111cf5fb72bca7dcd811f81f606a20 (patch) | |
| tree | c1c8f6ec0dcd5b731376855f631bef96c65f5ddd /content_scripts/link_hints.coffee | |
| parent | a471867fad98a4363c5df5f5ae1becbc289d1dbd (diff) | |
| download | vimium-92b3c36a57111cf5fb72bca7dcd811f81f606a20.tar.bz2 | |
Ignore keyboard repeats in link hint key handler
Diffstat (limited to 'content_scripts/link_hints.coffee')
| -rw-r--r-- | content_scripts/link_hints.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee index 3fa6f20f..440e6598 100644 --- a/content_scripts/link_hints.coffee +++ b/content_scripts/link_hints.coffee @@ -262,7 +262,7 @@ LinkHints = # Handles shift and esc keys. The other keys are passed to getMarkerMatcher().matchHintsByKey. # onKeyDownInMode: (hintMarkers, event) -> - return if @delayMode + return if @delayMode or event.repeat if ((event.keyCode == keyCodes.shiftKey or event.keyCode == keyCodes.ctrlKey) and (@mode == OPEN_IN_CURRENT_TAB or |
