diff options
| author | Phil Crosby | 2009-12-06 02:49:51 -0800 |
|---|---|---|
| committer | Phil Crosby | 2009-12-06 02:49:51 -0800 |
| commit | f725baec13dcfaaf48d4901fd09f50ec33e06586 (patch) | |
| tree | d6a5570ead6d7d252503249f907be37af17d3bcf /linkHints.js | |
| parent | 70c6d7b125f543e5a007be6b84c5c60c0c4337e6 (diff) | |
| download | vimium-f725baec13dcfaaf48d4901fd09f50ec33e06586.tar.bz2 | |
Add a note as to why the links on Google's homepage are shown in the link hints.
Diffstat (limited to 'linkHints.js')
| -rw-r--r-- | linkHints.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linkHints.js b/linkHints.js index e8f1cd3d..ba0b815c 100644 --- a/linkHints.js +++ b/linkHints.js @@ -85,6 +85,7 @@ function getVisibleClickableElements() { // elements inside of containers that are also hidden. Check for whether the element occupies the center // of its bounding box instead of simply the upper-left corner of that box because this is more accurate // when inline links have vertical padding, like in the links ("Source", "Commits") at the top of github.com. + // This will not exclude links with "opacity=0", like the links on Google's homepage (see bug #16). if (!elementOccupiesPoint(element, boundingRect.left + boundingRect.width / 2, boundingRect.top + boundingRect.height / 2)) continue; |
