From 13ae51789fe0c7b1bfb148aa30e1236eb38728d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sun, 31 Jul 2011 14:25:23 +0100 Subject: [PATCH] Remove reduntant argument, fixing visibility check. --- src/browser/DomElement.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/DomElement.js b/src/browser/DomElement.js index 009d4c30..c4e51c43 100644 --- a/src/browser/DomElement.js +++ b/src/browser/DomElement.js @@ -52,7 +52,7 @@ var DomElement = { // See if the viewport bounds intersect with the windows rectangle // which always starts at 0, 0 return !this.isInvisible(el) && this.getViewportBounds(el).intersects( - this.getBounds(el, false, true)); + this.getBounds(el, true)); }, getViewport: function(doc) {