diff options
Diffstat (limited to 'ui/effect.js')
-rw-r--r-- | ui/effect.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/effect.js b/ui/effect.js index f237556cf..417e83b08 100644 --- a/ui/effect.js +++ b/ui/effect.js @@ -942,12 +942,12 @@ $.fn.extend( { ( function() { -if ( $.expr && $.expr.filters && $.expr.filters.animated ) { - $.expr.filters.animated = ( function( orig ) { +if ( $.expr && $.expr.pseudos && $.expr.pseudos.animated ) { + $.expr.pseudos.animated = ( function( orig ) { return function( elem ) { return !!$( elem ).data( dataSpaceAnimated ) || orig( elem ); }; - } )( $.expr.filters.animated ); + } )( $.expr.pseudos.animated ); } if ( $.uiBackCompat !== false ) { |