aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
authorStephen Blott2014-12-22 12:36:30 +0000
committerStephen Blott2014-12-22 12:36:30 +0000
commitff55b5bbf2a1b3c3310c93a2851b8bc3a7c491b3 (patch)
treeccb6ed179f139af08bc2ad26f2af9f3a6c59bd8b /content_scripts
parent58191de5302f5bf52852c686777c385965013c07 (diff)
parentc1ffbc88ed1e340a7a046e1d75499642bf220e7f (diff)
downloadvimium-ff55b5bbf2a1b3c3310c93a2851b8bc3a7c491b3.tar.bz2
Merge branch 'link-hints-overlap' of https://github.com/mrmr1993/vimium into mrmr1993-link-hints-overlap
Diffstat (limited to 'content_scripts')
-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 c4bf3f96..df442ea6 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -169,7 +169,7 @@ LinkHints =
jsactionRules = element.getAttribute("jsaction").split(";")
for jsactionRule in jsactionRules
ruleSplit = jsactionRule.split ":"
- isClickable = true if ruleSplit[0] == "click" or (ruleSplit.length == 1 and ruleSplit[0] != "none")
+ isClickable ||= ruleSplit[0] == "click" or (ruleSplit.length == 1 and ruleSplit[0] != "none")
# Check for tagNames which are natively clickable.
switch tagName