Skip to content
Permalink
Browse files

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

…usstacular-master
  • Loading branch information
jeresig committed Jan 18, 2011
2 parents 3d0aa19 + 50170e6 commit c1d719b580ea78c33961113030d7fa25bcc98e6f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/offset.js
@@ -30,7 +30,7 @@ if ( "getBoundingClientRect" in document.documentElement ) {

// Make sure we're not dealing with a disconnected DOM node
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,

0 comments on commit c1d719b

Please sign in to comment.
You can’t perform that action at this time.