Insure width/height do not return a negative number.
This commit is contained in:
parent
3bb82a34de
commit
b32ec31d89
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue