aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2017-03-09 09:54:46 +0000
committerStephen Blott2017-03-09 09:55:12 +0000
commit10dcaa389958483a988a5bd86d3fd3d4e2799a77 (patch)
tree4dbd1a8107161e0a09a75ac89e967e0ef193870c
parent6828a9cb3664d58ebbc19e5ab9e61e7c575206a3 (diff)
downloadvimium-10dcaa389958483a988a5bd86d3fd3d4e2799a77.tar.bz2
Fix #2445 (link hints with queue broken).
-rw-r--r--content_scripts/link_hints.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee
index ac069c3c..741d42cf 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -128,7 +128,7 @@ LinkHints =
if isSuccess
# Wait for the next tick to allow the previous mode to exit. It might yet generate a click event,
# which would cause our new mode to exit immediately.
- Utils.nextTick -> LinkHints.activateMode count-1, mode
+ Utils.nextTick -> LinkHints.activateMode count-1, {mode}
activateModeToOpenInNewTab: (count) -> @activateMode count, mode: OPEN_IN_NEW_BG_TAB
activateModeToOpenInNewForegroundTab: (count) -> @activateMode count, mode: OPEN_IN_NEW_FG_TAB