aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.js')
-rw-r--r--src/core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js
index ad938f2b5..33e109b92 100644
--- a/src/core.js
+++ b/src/core.js
@@ -798,7 +798,7 @@ jQuery.extend({
else
jQuery.swap( elem, props, getWH );
- return val;
+ return Math.max(0, val);
}
return jQuery.curCSS( elem, name, force );