From d7f5a0835bc463d15a4f6210e48110054a050f0b Mon Sep 17 00:00:00 2001 From: Brandon Aaron Date: Mon, 17 Dec 2007 14:37:26 +0000 Subject: [PATCH] Fixed #2064 --- src/offset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4