aboutsummaryrefslogtreecommitdiffstats
path: root/src/offset.js
diff options
context:
space:
mode:
authorBrandon Aaron <brandon.aaron@gmail.com>2007-09-17 18:20:51 +0000
committerBrandon Aaron <brandon.aaron@gmail.com>2007-09-17 18:20:51 +0000
commit415a0916b54a0dd3123893d67cc9091dd8ebe1d6 (patch)
treebbf5772febb87cf5fe8c98d6ce86f9c25660732a /src/offset.js
parent456da2d4a805012003df3c1b173148368d3536f7 (diff)
downloadjquery-415a0916b54a0dd3123893d67cc9091dd8ebe1d6.tar.gz
jquery-415a0916b54a0dd3123893d67cc9091dd8ebe1d6.zip
remove box global var from offset
Diffstat (limited to 'src/offset.js')
-rw-r--r--src/offset.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/offset.js b/src/offset.js
index 3c63aae92..f59fb9b27 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(