diff options
| author | Stephen Blott | 2016-03-17 11:01:21 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2016-03-28 05:59:32 +0100 | 
| commit | 32ebe749a0242deda845558340aee02bafa83e76 (patch) | |
| tree | 8fed2cff127d5226c8d5db3c47f3fdd662f01d06 /content_scripts | |
| parent | d2691a43cc97a89c4d127ef6ef0be4c0417c675d (diff) | |
| download | vimium-32ebe749a0242deda845558340aee02bafa83e76.tar.bz2 | |
Fix for f6925630a7e22b4483bc872d9242776bce5337c1.
We should start by checking the *parent* of the candidate descendant.
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 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  | 
