Commit 4c5f091d authored by Brandon Aaron's avatar Brandon Aaron

safari2 should just check the browser and version

parent ed51be16
...@@ -9,7 +9,7 @@ jQuery.fn.offset = function() { ...@@ -9,7 +9,7 @@ jQuery.fn.offset = function() {
parent = elem.parentNode, parent = elem.parentNode,
offsetParent = elem.offsetParent, offsetParent = elem.offsetParent,
doc = elem.ownerDocument, doc = elem.ownerDocument,
safari2 = safari && !absolute && parseInt(version) < 522; safari2 = safari && parseInt(version) < 522;
// Use getBoundingClientRect if available // Use getBoundingClientRect if available
if ( elem.getBoundingClientRect ) { if ( elem.getBoundingClientRect ) {
......
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