class animation: added scrollbar property filtering back in to prevent an error in IE.

This commit is contained in:
Scott González 2009-11-16 03:06:13 +00:00
parent 31a5ee94a9
commit 730f6d0823

View File

@ -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)))