aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2016-09-25 16:28:39 +0100
committerStephen Blott2016-09-25 16:28:41 +0100
commite7c64d80d04c57da09b63e99a4b63396f3a96fcd (patch)
treed85e665467cd9be9e8c4e86b15b5a67a0bc2953d
parent1b1b9c25e8b234598ff110dce7bb150f6d886169 (diff)
downloadvimium-e7c64d80d04c57da09b63e99a4b63396f3a96fcd.tar.bz2
Do not reset tab index on modifiers.
The prevents the active element from being reset when we rotate hint markers.
-rw-r--r--content_scripts/link_hints.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee
index 4ae8c459..bc2dd5bc 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -288,6 +288,7 @@ class LinkHintsMode
HintCoordinator.sendMessage "rotateHints"
else
+ @tabCount = previousTabCount if event.ctrlKey or event.metaKey or event.altKey
return
# We've handled the event, so suppress it and update the mode indicator.