diff options
| author | mrmr1993 | 2017-08-17 19:49:07 +0100 | 
|---|---|---|
| committer | mrmr1993 | 2017-09-21 20:37:27 +0100 | 
| commit | a8337e93b33cfbaba17c4a237fe7330f27145c0c (patch) | |
| tree | 7b733d05f0c504999330814e1332d9eeeac07365 | |
| parent | e6a529ea00033d44226581c48df4e84f4cb80237 (diff) | |
| download | vimium-a8337e93b33cfbaba17c4a237fe7330f27145c0c.tar.bz2 | |
Use Utils.isFirefox for link hints fix
| -rw-r--r-- | content_scripts/link_hints.coffee | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee index f06ef786..0fbb66bf 100644 --- a/content_scripts/link_hints.coffee +++ b/content_scripts/link_hints.coffee @@ -11,7 +11,6 @@  # The "name" property below is a short-form name to appear in the link-hints mode's name.  It's for debug only.  #  isMac = KeyboardUtils.platform == "Mac" -simulateClickDefaultAction = true  OPEN_IN_CURRENT_TAB =    name: "curr-tab"    indicator: "Open link in current tab" @@ -387,6 +386,7 @@ class LinkHintsMode            else              clickActivator = (modifiers) -> (link) ->                defaultActionsTriggered = DomUtils.simulateClick link, modifiers +              simulateClickDefaultAction = Utils.isFirefox()                if simulateClickDefaultAction and                    defaultActionsTriggered[3] and link.tagName?.toLowerCase() == "a" and                    modifiers? and modifiers.metaKey == isMac and modifiers.ctrlKey == not isMac | 
