Wrong var

This commit is contained in:
Raphaël Doursenaud
2013-11-07 22:11:43 +01:00
parent 9be462e43c
commit 9faa832560

View File

@@ -214,7 +214,7 @@ function getTop(theitem){
offsetTrail = offsetTrail.offsetParent;
}
if (navigator.userAgent.indexOf("Mac") != -1 && typeof document.body.leftMargin != "undefined")
offsetLeft += document.body.TopMargin;
offsetTop += document.body.TopMargin;
return offsetTop;
}