remove box global var from offset

This commit is contained in:
Brandon Aaron 2007-09-17 18:20:51 +00:00
parent 456da2d4a8
commit 415a0916b5

View file

@ -13,7 +13,7 @@ jQuery.fn.offset = function() {
// Use getBoundingClientRect if available
if ( elem.getBoundingClientRect ) {
box = elem.getBoundingClientRect();
var box = elem.getBoundingClientRect();
// Add the document scroll offsets
add(