aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-09-09 16:29:26 -0400
committerjeresig <jeresig@gmail.com>2010-09-09 16:29:26 -0400
commitc168c30a6afb1b3af1dee81119dbfdd3bef50d61 (patch)
treebc744455dd69316f2f62e56d8f9a0dd8263295fb
parentc36596ea58a69f7772b61829f8d0609a6fb1d9a0 (diff)
downloadjquery-c168c30a6afb1b3af1dee81119dbfdd3bef50d61.tar.gz
jquery-c168c30a6afb1b3af1dee81119dbfdd3bef50d61.zip
Another logic bug caught by furf in ad950c8c5992937640a1e1aca8d63bb476b001f6.
-rw-r--r--src/css.js2
1 files changed, 1 insertions, 1 deletions
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;
}