git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
456da2d
)
remove box global var from offset
author
Brandon Aaron
<brandon.aaron@gmail.com>
Mon, 17 Sep 2007 18:20:51 +0000
(18:20 +0000)
committer
Brandon Aaron
<brandon.aaron@gmail.com>
Mon, 17 Sep 2007 18:20:51 +0000
(18:20 +0000)
src/offset.js
patch
|
blob
|
history
diff --git
a/src/offset.js
b/src/offset.js
index
3c63aae
..
f59fb9b
100644
(file)
--- 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(