aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Skogly2015-06-19 23:44:48 +0200
committerDaniel Skogly2015-06-19 23:44:48 +0200
commit1042251c210b22036c3a847df46b1c44b7d87cfe (patch)
treebf2455996a72af07d9bfe9e8e7b3c16401af1e90
parent481c162aa047ab5c7169069303bcdbed73051e8d (diff)
downloadvimium-1042251c210b22036c3a847df46b1c44b7d87cfe.tar.bz2
More concise comment
Because I apparently can't read docs properly!
-rw-r--r--content_scripts/link_hints.coffee3
1 files changed, 1 insertions, 2 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee
index 37758c95..327d622a 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -167,8 +167,7 @@ class LinkHintsMode
element.getAttribute("aria-disabled")?.toLowerCase() in ["", "true"])
return [] # This element should never have a link hint.
- # The quite popular (http://w3techs.com/technologies/market/javascript_library/20) JavaScript framework AngularJS
- # uses the proprietary click attribute "ng-click". This checks for every valid way it may occur.
+ # Check for AngularJS listeners on the element.
ngPrefixes = ['', 'data-', 'x-']
ngSeparators = ['-', ':', '_']
hasNgClick = () ->