nitobi.browser.detect(); nitobi.toolkit.js. 575. (ish)
if(nitobi.browser.MOZ) {
if(typeof document.getBoxObjectFor == "undefined") {
document.getBoxObjectFor = function(elem) {
var obj = new Object;
var rect = elem.getBoundingClientRect();
obj.y = rect.top;
obj.x = rect.left;
obj.width =Math.abs(rect.right-rect.left);
obj.height = Math.abs(rect.bottom-rect.top);
return obj;
}
}
}
, Gecko, , getBoundingClientRect, Mozilla.
They are deprecated by getBoxObjectFor and instead added this function.
Hope this helps.
source
share