From 92b3c36a57111cf5fb72bca7dcd811f81f606a20 Mon Sep 17 00:00:00 2001 From: mrmr1993 Date: Wed, 29 Apr 2015 01:56:14 +0100 Subject: Ignore keyboard repeats in link hint key handler --- content_scripts/link_hints.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content_scripts') 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 -- cgit v1.2.3