Skip to content

Commit 995b5fa

Browse files
aTeimgol
authored andcommitted
1 parent 98b5391 commit 995b5fa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ui/effect.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -942,12 +942,12 @@ $.fn.extend( {
942942

943943
( function() {
944944

945-
if ( $.expr && $.expr.filters && $.expr.filters.animated ) {
946-
$.expr.filters.animated = ( function( orig ) {
945+
if ( $.expr && $.expr.pseudos && $.expr.pseudos.animated ) {
946+
$.expr.pseudos.animated = ( function( orig ) {
947947
return function( elem ) {
948948
return !!$( elem ).data( dataSpaceAnimated ) || orig( elem );
949949
};
950-
} )( $.expr.filters.animated );
950+
} )( $.expr.pseudos.animated );
951951
}
952952

953953
if ( $.uiBackCompat !== false ) {

ui/widgets/datepicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ $.extend( Datepicker.prototype, {
900900
inst = this._getInst( obj ),
901901
isRTL = this._get( inst, "isRTL" );
902902

903-
while ( obj && ( obj.type === "hidden" || obj.nodeType !== 1 || $.expr.filters.hidden( obj ) ) ) {
903+
while ( obj && ( obj.type === "hidden" || obj.nodeType !== 1 || $.expr.pseudos.hidden( obj ) ) ) {
904904
obj = obj[ isRTL ? "previousSibling" : "nextSibling" ];
905905
}
906906

0 commit comments

Comments
 (0)