aboutsummaryrefslogtreecommitdiffstats
path: root/src/offset.js
diff options
context:
space:
mode:
authorBrandon Aaron <brandon.aaron@gmail.com>2007-12-17 14:37:26 +0000
committerBrandon Aaron <brandon.aaron@gmail.com>2007-12-17 14:37:26 +0000
commitd7f5a0835bc463d15a4f6210e48110054a050f0b (patch)
tree0328eb73dffb260e349f7e27035abd7b783c0d41 /src/offset.js
parent13a5fdb6a1571012c3e065a991fb4eff083057fb (diff)
downloadjquery-d7f5a0835bc463d15a4f6210e48110054a050f0b.tar.gz
jquery-d7f5a0835bc463d15a4f6210e48110054a050f0b.zip
Fixed #2064
Diffstat (limited to 'src/offset.js')
-rw-r--r--src/offset.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/offset.js b/src/offset.js
index 46b971bc9..11a187eed 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