diff options
author | Timo Tijhof <krinklemail@gmail.com> | 2017-10-05 21:30:20 +0100 |
---|---|---|
committer | Timo Tijhof <krinklemail@gmail.com> | 2017-10-05 21:35:27 +0100 |
commit | 011367431745e51488731342ffc2fe1981f71bc0 (patch) | |
tree | 92c9defebd27714887c13cc607609a6f3bc62556 /resources/lib/jquery.ui/jquery.ui.datepicker.js | |
parent | 3690d095276c472cfebb7d49d9d5e40c4a14b3fd (diff) | |
download | mediawikicore-011367431745e51488731342ffc2fe1981f71bc0.tar.gz mediawikicore-011367431745e51488731342ffc2fe1981f71bc0.zip |
jquery.ui: Fix various jQuery Migrate warnings
These are the most common three, triggered whenever a jQuery UI
dialog is created.
> JQMIGRATE: jQuery.fn.bind() is deprecated
> JQMIGRATE: jQuery.expr.filters is deprecated; use jQuery.expr.pseudos
> JQMIGRATE: jQuery.fn.andSelf() was removed, use jQuery.fn.addBack()
Bug: T169385
Change-Id: I717f2580e3aae443cb9fc734de8f4b0dd8825b8c
Diffstat (limited to 'resources/lib/jquery.ui/jquery.ui.datepicker.js')
-rw-r--r-- | resources/lib/jquery.ui/jquery.ui.datepicker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/lib/jquery.ui/jquery.ui.datepicker.js b/resources/lib/jquery.ui/jquery.ui.datepicker.js index cd5d49018d4d..15982fde5140 100644 --- a/resources/lib/jquery.ui/jquery.ui.datepicker.js +++ b/resources/lib/jquery.ui/jquery.ui.datepicker.js @@ -783,7 +783,7 @@ $.extend(Datepicker.prototype, { _findPos: function(obj) { var inst = this._getInst(obj); var 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']; } var position = $(obj).offset(); |