Fix bug introduced in rewrite of Nick's patch. I'm an idiot.
This commit is contained in:
parent
c89d6eac95
commit
720ee56ae5
@ -756,8 +756,8 @@
|
||||
// The HTML element on IE < 8 has a 2px border by default, giving
|
||||
// an incorrect offset. We correct this by subtracting clientTop
|
||||
// and clientLeft.
|
||||
return new Element.Offset(rect.top - docEl.clientTop,
|
||||
rect.left - docEl.clientLeft);
|
||||
return new Element.Offset(rect.left - docEl.clientLeft,
|
||||
rect.top - docEl.clientTop);
|
||||
},
|
||||
|
||||
cumulativeOffset: function(element) {
|
||||
|
Loading…
Reference in New Issue
Block a user