diff options
author | Scott González <scott.gonzalez@gmail.com> | 2009-11-16 03:06:13 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2009-11-16 03:06:13 +0000 |
commit | 730f6d082382f06a640d887ae261e19a2f3bf547 (patch) | |
tree | 902d394fbf3e48f619f0aca45ace5dfd54317490 | |
parent | 31a5ee94a9ac8cfb2a7194aba130481abe9c9f22 (diff) | |
download | jquery-ui-730f6d082382f06a640d887ae261e19a2f3bf547.tar.gz jquery-ui-730f6d082382f06a640d887ae261e19a2f3bf547.zip |
class animation: added scrollbar property filtering back in to prevent an error in IE.
-rw-r--r-- | ui/jquery.effects.core.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/jquery.effects.core.js b/ui/jquery.effects.core.js index 5796edd73..45f61212c 100644 --- a/ui/jquery.effects.core.js +++ b/ui/jquery.effects.core.js @@ -199,9 +199,8 @@ function filterStyles(styles) { $.isFunction(value) || // shorthand styles that need to be expanded name in shorthandStyles || - // ignore Mozilla specific styles (Moz and length) // ignore scrollbars (break in IE) -// (/(Moz)|(length)|(scrollbar)/).test(name) || + (/scrollbar/).test(name) || // only colors or values that can be converted to numbers (!(/color/i).test(name) && isNaN(parseFloat(value))) |