Skip to content

Commit

Permalink
remove box global var from offset
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonaaron committed Sep 17, 2007
1 parent 456da2d commit 415a091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/offset.js
Expand Up @@ -13,7 +13,7 @@ jQuery.fn.offset = function() {


// Use getBoundingClientRect if available // Use getBoundingClientRect if available
if ( elem.getBoundingClientRect ) { if ( elem.getBoundingClientRect ) {
box = elem.getBoundingClientRect(); var box = elem.getBoundingClientRect();


// Add the document scroll offsets // Add the document scroll offsets
add( add(
Expand Down

0 comments on commit 415a091

Please sign in to comment.