]> source.dussan.org Git - jquery.git/commitdiff
Another logic bug caught by furf in ad950c8c5992937640a1e1aca8d63bb476b001f6.
authorjeresig <jeresig@gmail.com>
Thu, 9 Sep 2010 20:29:26 +0000 (16:29 -0400)
committerjeresig <jeresig@gmail.com>
Thu, 9 Sep 2010 20:29:26 +0000 (16:29 -0400)
src/css.js

index 7a96020db012b864348abbe4187a9eb82653ca58..dd0ca4e296ad7d0ca8560b872d785199a805520a 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;
                        }