aboutsummaryrefslogtreecommitdiffstats
path: root/linkHints.js
diff options
context:
space:
mode:
Diffstat (limited to 'linkHints.js')
-rw-r--r--linkHints.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/linkHints.js b/linkHints.js
index daedb7d6..771b0728 100644
--- a/linkHints.js
+++ b/linkHints.js
@@ -94,7 +94,7 @@ function getVisibleClickableElements() {
// If the link has zero dimensions, it may be wrapping visible
// but floated elements. Check for this.
- if (boundingRect.width == 0 && boundingRect.height == 0) {
+ if (boundingRect.width == 0 || boundingRect.height == 0) {
for (var j = 0; j < element.childNodes.length; j++) {
// check that the node is an element node