mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Landed a minor fix for AIR (in the offset method).
This commit is contained in:
parent
80568d29cb
commit
e71e4a47f3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user