diff options
Diffstat (limited to 'src/css.js')
-rw-r--r-- | src/css.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css.js b/src/css.js index e5a93fce1..a4ca555ef 100644 --- a/src/css.js +++ b/src/css.js @@ -91,7 +91,7 @@ jQuery.extend({ } // Make sure that NaN and null values aren't set. See: #7116 - if ( type === "number" && isNaN( value ) || value == null ) { + if ( value == null || type === "number" && isNaN( value ) ) { return; } |