Skip to content

Commit 730f6d0

Browse files
committed
class animation: added scrollbar property filtering back in to prevent an error in IE.
1 parent 31a5ee9 commit 730f6d0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ui/jquery.effects.core.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,8 @@ function filterStyles(styles) {
199199
$.isFunction(value) ||
200200
// shorthand styles that need to be expanded
201201
name in shorthandStyles ||
202-
// ignore Mozilla specific styles (Moz and length)
203202
// ignore scrollbars (break in IE)
204-
// (/(Moz)|(length)|(scrollbar)/).test(name) ||
203+
(/scrollbar/).test(name) ||
205204

206205
// only colors or values that can be converted to numbers
207206
(!(/color/i).test(name) && isNaN(parseFloat(value)))

0 commit comments

Comments
 (0)