Skip to content
Permalink
Browse files

Return the zeroed-out bounding box instead of passing it on.

  • Loading branch information...
jeresig committed Oct 10, 2010
1 parent 26db3f0 commit 19b4ba35c4ef7528402067009c1b28898acc59d4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/offset.js
@@ -25,7 +25,7 @@ if ( "getBoundingClientRect" in document.documentElement ) {
box = elem.getBoundingClientRect();

} catch(e) {
box = { top: 0, left: 0 };
return { top: 0, left: 0 };
}

var doc = elem.ownerDocument,

0 comments on commit 19b4ba3

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