aboutsummaryrefslogtreecommitdiffstats
path: root/src/offset.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/offset.js')
-rw-r--r--src/offset.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/offset.js b/src/offset.js
index 257035816..46b971bc9 100644
--- 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;
};