diff options
| author | int3 | 2010-04-17 22:47:15 +0000 | 
|---|---|---|
| committer | ilya | 2010-04-18 21:59:53 -0700 | 
| commit | 7deefa4a220d6349bd1e24957a2c5e5e3cf91486 (patch) | |
| tree | b88bf51ad9e07474f252fcf136e227f1718d2455 /linkHints.js | |
| parent | 89e1336d1e56543719f3cf9e43189ff9da708a68 (diff) | |
| download | vimium-7deefa4a220d6349bd1e24957a2c5e5e3cf91486.tar.bz2 | |
Fix offscreen link exclusion bug
Diffstat (limited to 'linkHints.js')
| -rw-r--r-- | linkHints.js | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/linkHints.js b/linkHints.js index a2d28dda..72fcd5c0 100644 --- a/linkHints.js +++ b/linkHints.js @@ -78,7 +78,7 @@ function getVisibleClickableElements() {      var boundingRect = element.getBoundingClientRect();      // Exclude links which have just a few pixels on screen, because the link hints won't show for them anyway.      if (boundingRect.bottom <= 4 || boundingRect.top >= window.innerHeight - 4 || -        boundingRect.left <= 0 || boundingRect.right >= window.innerWidth - 4) +        boundingRect.left <= 0 || boundingRect.left >= window.innerWidth - 4)        continue;      if (boundingRect.width < 3 || boundingRect.height < 3)  | 
