aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 = () ->