diff options
| author | Stephen Blott | 2015-07-02 05:21:48 +0100 |
|---|---|---|
| committer | Stephen Blott | 2015-07-02 05:21:53 +0100 |
| commit | 81fed96e2600917b23e810062beafd688aa17460 (patch) | |
| tree | 9ec629fec599eab93643ce3505a737ab83b7e130 /content_scripts | |
| parent | 2cc7dc1d2164b5dbb27bcc1d4bc0517402dd7581 (diff) | |
| download | vimium-81fed96e2600917b23e810062beafd688aa17460.tar.bz2 | |
Better angularJS detection.
See @mrmr1993's comment in 2cc7dc1d2164b5dbb27bcc1d4bc0517402dd7581.
Diffstat (limited to 'content_scripts')
| -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 aae94686..8e106b0f 100644 --- a/content_scripts/link_hints.coffee +++ b/content_scripts/link_hints.coffee @@ -169,7 +169,7 @@ class LinkHintsMode # Check for AngularJS listeners on the element. @checkForAngularJs ?= do -> - angularElements = document.body.getElementsByClassName "ng-scope" + angularElements = document.getElementsByClassName "ng-scope" if angularElements.length == 0 -> false else |
