From 415a0916b54a0dd3123893d67cc9091dd8ebe1d6 Mon Sep 17 00:00:00 2001 From: Brandon Aaron Date: Mon, 17 Sep 2007 18:20:51 +0000 Subject: [PATCH] remove box global var from offset --- src/offset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/offset.js b/src/offset.js index 3c63aae9..f59fb9b2 100644 --- a/src/offset.js +++ b/src/offset.js @@ -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(