mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
class animation: added scrollbar property filtering back in to prevent an error in IE.
This commit is contained in:
parent
31a5ee94a9
commit
730f6d0823
3
ui/jquery.effects.core.js
vendored
3
ui/jquery.effects.core.js
vendored
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user