remove box global var from offset
This commit is contained in:
parent
456da2d4a8
commit
415a0916b5
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue