X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Foffset.js;h=11a187eedee51391cebb9c7f6862519439184045;hb=d7f5a0835bc463d15a4f6210e48110054a050f0b;hp=46b971bc9614dc3b16e64d35f3e0992b96e971be;hpb=feb9051c0e29937c2494c3db0862a671efc21747;p=jquery.git diff --git a/src/offset.js b/src/offset.js index 46b971b..11a187e 100644 --- a/src/offset.js +++ b/src/offset.js @@ -72,7 +72,7 @@ jQuery.fn.offset = function() { // Safari <= 2 doubles body offsets with a fixed position element/offsetParent or absolutely positioned offsetChild // Mozilla doubles body offsets with a non-absolutely positioned offsetChild if ( (safari2 && (fixed || jQuery.css(offsetChild, "position") == "absolute")) || - (mozilla && jQuery.css(offsetChild, "position") != "absoltue") ) + (mozilla && jQuery.css(offsetChild, "position") != "absolute") ) add( -doc.body.offsetLeft, -doc.body.offsetTop ); // Add the document scroll offsets if position is fixed