git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added a fix for bug #2020 - if you want to do data: {callback: "?"}, do jsonp: "callb...
[jquery.git]
/
src
/
offset.js
diff --git
a/src/offset.js
b/src/offset.js
index
2570358
..
46b971b
100644
(file)
--- a/
src/offset.js
+++ b/
src/offset.js
@@
-85,8
+85,6
@@
jQuery.fn.offset = function() {
results = { top: top, left: left };
}
- return results;
-
function border(elem) {
add( jQuery.css(elem, "borderLeftWidth"), jQuery.css(elem, "borderTopWidth") );
}
@@
-95,4
+93,6
@@
jQuery.fn.offset = function() {
left += parseInt(l) || 0;
top += parseInt(t) || 0;
}
+
+ return results;
};