diff options
author | Maksymenkov Eugene <foatei@gmail.com> | 2019-12-08 23:27:16 +0200 |
---|---|---|
committer | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2019-12-08 22:27:16 +0100 |
commit | 995b5faec966b608ba15ed2a68c1f1565f77053b (patch) | |
tree | 828f1ebd36d48c7ad3af5e5d6635a4356858d4d3 /ui/widgets/datepicker.js | |
parent | 98b539171b6e805fa79346a5e9896865e5213b9c (diff) | |
download | jquery-ui-995b5faec966b608ba15ed2a68c1f1565f77053b.tar.gz jquery-ui-995b5faec966b608ba15ed2a68c1f1565f77053b.zip |
All: Use expr.pseudos instead of deprecated expr.filters
See:
https://github.com/jquery/jquery-migrate/blob/master/warnings.md#jqmigrate-jqueryexprfilters-is-deprecated-use-jqueryexprpseudos
Closes gh-1887
Diffstat (limited to 'ui/widgets/datepicker.js')
-rw-r--r-- | ui/widgets/datepicker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/widgets/datepicker.js b/ui/widgets/datepicker.js index 63f713ec0..c777a4b0e 100644 --- a/ui/widgets/datepicker.js +++ b/ui/widgets/datepicker.js @@ -900,7 +900,7 @@ $.extend( Datepicker.prototype, { inst = this._getInst( obj ), isRTL = this._get( inst, "isRTL" ); - while ( obj && ( obj.type === "hidden" || obj.nodeType !== 1 || $.expr.filters.hidden( obj ) ) ) { + while ( obj && ( obj.type === "hidden" || obj.nodeType !== 1 || $.expr.pseudos.hidden( obj ) ) ) { obj = obj[ isRTL ? "previousSibling" : "nextSibling" ]; } |