Remove reduntant argument, fixing visibility check.

This commit is contained in:
Jürg Lehni 2011-07-31 14:25:23 +01:00
parent d84f0d34cf
commit 13ae51789f

View file

@ -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) {