Commit e71e4a47 authored by John Resig's avatar John Resig

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

parent 80568d29
...@@ -9,7 +9,7 @@ jQuery.fn.offset = function() { ...@@ -9,7 +9,7 @@ jQuery.fn.offset = function() {
offsetChild = elem, offsetChild = elem,
offsetParent = elem.offsetParent, offsetParent = elem.offsetParent,
doc = elem.ownerDocument, doc = elem.ownerDocument,
safari2 = safari && parseInt(version) < 522, safari2 = safari && parseInt(version) < 522 && !/adobeair/i.test(userAgent),
fixed = jQuery.css(elem, "position") == "fixed"; fixed = jQuery.css(elem, "position") == "fixed";
// Use getBoundingClientRect if available // Use getBoundingClientRect if available
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment