Another logic bug caught by furf in ad950c8c59
.
This commit is contained in:
parent
c36596ea58
commit
c168c30a6a
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue