aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/link_hints.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'content_scripts/link_hints.coffee')
-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 f464f159..ced90cc5 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -321,8 +321,8 @@ LocalHints =
while index < position
candidateDescendant = visibleElements[index].element
for _ in descendantsToCheck
- return true if candidateDescendant == element.element
candidateDescendant = candidateDescendant?.parentElement
+ return true if candidateDescendant == element.element
index += 1
false # This is not a false positive.
element