aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
authorStephen Blott2017-04-14 13:57:20 +0100
committerStephen Blott2017-04-18 05:50:51 +0100
commit748f1dcc204d1c08d6deb683d896824a15fa4fe3 (patch)
tree2f83b4cf56beaa87116879dd39ab0f170627092b /content_scripts
parent1979d60f224453d9508e55d82a7ccb590a3a2912 (diff)
downloadvimium-748f1dcc204d1c08d6deb683d896824a15fa4fe3.tar.bz2
Fix <Shift> or <Ctrl> link-hint behaviour.
Error was introduced by seemingly innocuous but nevertheless significant change in previous commit. Tests picked up the problem.
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/link_hints.coffee3
1 files changed, 1 insertions, 2 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee
index 1cc7fee7..eb138caa 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -294,8 +294,7 @@ class LinkHintsMode
if keyChar.length == 1
@markerMatcher.pushKeyChar keyChar
@updateVisibleMarkers()
-
- DomUtils.consumeKeyup event
+ DomUtils.consumeKeyup event
updateVisibleMarkers: (tabCount = 0) ->
{hintKeystrokeQueue, linkTextKeystrokeQueue} = @markerMatcher