Skip to content
Permalink
Browse files

Landed a minor fix for AIR (in the offset method).

  • Loading branch information
jeresig committed Feb 6, 2008
1 parent 80568d2 commit e71e4a47f35a4380664b6cc209e482adea6b4b14
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/offset.js
@@ -9,7 +9,7 @@ jQuery.fn.offset = function() {
offsetChild = elem,
offsetParent = elem.offsetParent,
doc = elem.ownerDocument,
safari2 = safari && parseInt(version) < 522,
safari2 = safari && parseInt(version) < 522 && !/adobeair/i.test(userAgent),
fixed = jQuery.css(elem, "position") == "fixed";

// Use getBoundingClientRect if available

0 comments on commit e71e4a4

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