Skip to content
Permalink
Browse files

second batch

  • Loading branch information...
louisremi
louisremi committed Apr 11, 2011
1 parent cccd092 commit 11adde5127ec496cf692237ea0d4f6217eac97b8
Showing with 460 additions and 460 deletions.
  1. +1 −1 src/offset.js
  2. +127 −127 test/unit/ajax.js
  3. +182 −182 test/unit/attributes.js
  4. +69 −69 test/unit/core.js
  5. +58 −58 test/unit/css.js
  6. +23 −23 test/unit/data.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

0 comments on commit 11adde5

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