Commit c168c30a authored by jeresig's avatar jeresig

Another logic bug caught by furf in ad950c8c.

parent c36596ea
...@@ -66,7 +66,7 @@ jQuery.extend({ ...@@ -66,7 +66,7 @@ jQuery.extend({
value += "px"; 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; style[ name ] = value;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment