aboutsummaryrefslogtreecommitdiffstats
path: root/src/offset.js
diff options
context:
space:
mode:
authorlouisremi <louisremi@louisremi-laptop.(none)>2011-04-11 22:33:29 +0200
committerlouisremi <louisremi@louisremi-laptop.(none)>2011-04-11 22:33:29 +0200
commit11adde5127ec496cf692237ea0d4f6217eac97b8 (patch)
tree4eafab8f2fd29e5068d39746593a88dee2ac7fb7 /src/offset.js
parentcccd092fe0c3e680b6ba3fcfb3368aa3b65bd245 (diff)
downloadjquery-11adde5127ec496cf692237ea0d4f6217eac97b8.tar.gz
jquery-11adde5127ec496cf692237ea0d4f6217eac97b8.zip
second batch
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 a0cd7a156..b9a132b42 100644
--- a/src/offset.js
+++ b/src/offset.js
@@ -180,7 +180,7 @@ jQuery.offset = {
curOffset = curElem.offset(),
curCSSTop = jQuery.css( elem, "top" ),
curCSSLeft = jQuery.css( elem, "left" ),
- calculatePosition = (position === "absolute" || position === "fixed") && jQuery.inArray('auto', [curCSSTop, curCSSLeft]) > -1,
+ calculatePosition = (position === "absolute" || position === "fixed") && jQuery.inArray("auto", [curCSSTop, curCSSLeft]) > -1,
props = {}, curPosition = {}, curTop, curLeft;
// need to be able to calculate position if either top or left is auto and position is either absolute or fixed