Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/russtacular/jquery into r…
Browse files Browse the repository at this point in the history
…usstacular-master
  • Loading branch information
jeresig committed Jan 18, 2011
2 parents 3d0aa19 + 50170e6 commit c1d719b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/offset.js
Expand Up @@ -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,
Expand Down

0 comments on commit c1d719b

Please sign in to comment.