Skip to content
Permalink
Browse files

Insure width/height do not return a negative number.

  • Loading branch information
brandonaaron committed Dec 19, 2007
1 parent 3bb82a3 commit b32ec31d896eb163c5f3d9b54ca9da3c0dd90ce0
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 );

0 comments on commit b32ec31

Please sign in to comment.
You can’t perform that action at this time.