Commit c1d719b5 authored by John Resig's avatar John Resig

Merge branch 'master' of https://github.com/russtacular/jquery into russtacular-master

parents 3d0aa196 50170e61
...@@ -30,7 +30,7 @@ if ( "getBoundingClientRect" in document.documentElement ) { ...@@ -30,7 +30,7 @@ if ( "getBoundingClientRect" in document.documentElement ) {
// Make sure we're not dealing with a disconnected DOM node // Make sure we're not dealing with a disconnected DOM node
if ( !box || !jQuery.contains( docElem, elem ) ) { if ( !box || !jQuery.contains( docElem, elem ) ) {
return box || { top: 0, left: 0 }; return box ? { top: box.top, left: box.left } : { top: 0, left: 0 };
} }
var body = doc.body, var body = doc.body,
......
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