aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/link_hints.coffee
diff options
context:
space:
mode:
authorStephen Blott2016-01-31 08:07:34 +0000
committerStephen Blott2016-01-31 08:07:34 +0000
commit334e9d7c4723b71706c4e3def3fd996bf7dff6f6 (patch)
tree1d03ca5f3e542c842e45533eca6a23e99b2b41b7 /content_scripts/link_hints.coffee
parent7d7588c7b28aee13137e510aa8eb89b2a9df825d (diff)
parent4f77df0084ede4cf0c35b196b9139f412c37c496 (diff)
downloadvimium-334e9d7c4723b71706c4e3def3fd996bf7dff6f6.tar.bz2
Merge pull request #1819 from mrmr1993/unhover-links-when-clicking-link-hint
Emit mouseout for the last link when clicking a new link with link hints
Diffstat (limited to 'content_scripts/link_hints.coffee')
-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 db5a932a..84c9f7f9 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -124,7 +124,7 @@ class LinkHintsMode
DomUtils.simulateClick link, altKey: true, ctrlKey: false, metaKey: false
else # OPEN_IN_CURRENT_TAB
@hintMode.setIndicator "Open link in current tab."
- @linkActivator = (link) -> DomUtils.simulateClick.bind(DomUtils, link)()
+ @linkActivator = DomUtils.simulateClick.bind DomUtils
#
# Creates a link marker for the given link.