Skip to content
Permalink
Browse files

core: fixed offset method for FF3 - FF3 seems to have problems report…

…ing the correct values with getBoundingClientRect on the body element
  • Loading branch information
Paul Bakaus
Paul Bakaus committed May 25, 2008
1 parent 042e51e commit 6141984b7115882cd84cb2cd2cae11de35914775
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 6141984

Please sign in to comment.
You can’t perform that action at this time.