From: jeresig Date: Thu, 9 Sep 2010 20:29:26 +0000 (-0400) Subject: Another logic bug caught by furf in ad950c8c5992937640a1e1aca8d63bb476b001f6. X-Git-Tag: 1.4.3rc1~116^2~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c168c30a6afb1b3af1dee81119dbfdd3bef50d61;p=jquery.git Another logic bug caught by furf in ad950c8c5992937640a1e1aca8d63bb476b001f6. --- diff --git a/src/css.js b/src/css.js index 7a96020db..dd0ca4e29 100644 --- a/src/css.js +++ b/src/css.js @@ -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; }