Another logic bug caught by furf in ad950c8c5992937640a1e1aca8d63bb476b001f6.
[jquery.git] / src / css.js
index 7a96020..dd0ca4e 100644 (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;
                        }