Another logic bug caught by furf in ad950c8c59.

This commit is contained in:
jeresig 2010-09-09 16:29:26 -04:00
parent c36596ea58
commit c168c30a6a

View file

@ -66,7 +66,7 @@ jQuery.extend({
value += "px";
}
if ( !("set" in hooks) || (value = hooks.set( elem, value )) === undefined ) {
if ( !("set" in hooks) || (value = hooks.set( elem, value )) !== undefined ) {
style[ name ] = value;
}