Skip to content
Permalink
Browse files
second batch
  • Loading branch information
louisremi committed Apr 11, 2011
1 parent cccd092 commit 11adde5127ec496cf692237ea0d4f6217eac97b8
Showing 6 changed files with 460 additions and 460 deletions.
@@ -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.