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 b32ec31
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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.