diff --git a/src/offset.js b/src/offset.js index ef999d8a4..f0adae04d 100644 --- a/src/offset.js +++ b/src/offset.js @@ -14,7 +14,7 @@ jQuery.fn.offset = function() { fixed = css(elem, "position") == "fixed"; // Use getBoundingClientRect if available - if ( elem.getBoundingClientRect ) { + if ( !(mozilla && elem == document.body) && elem.getBoundingClientRect ) { var box = elem.getBoundingClientRect(); // Add the document scroll offsets