diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2021-04-09 23:36:00 +0200 |
---|---|---|
committer | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2024-05-15 00:38:30 +0200 |
commit | daa6fb55b35065c49c0ffc879c94627bbf85404c (patch) | |
tree | c1c90efc224aa82614758262b4e308cc8354ac65 /ui/widgets/datepicker.js | |
parent | ac8b1e4eee8682e6825730c4823036a90031edad (diff) | |
download | jquery-ui-daa6fb55b35065c49c0ffc879c94627bbf85404c.tar.gz jquery-ui-daa6fb55b35065c49c0ffc879c94627bbf85404c.zip |
All: Drop support for jQueries different than the latest for each major
Also, remove the ability to run the test suite in jQuery <1.12.4 & <2.2.4.
Closes gh-2249
Diffstat (limited to 'ui/widgets/datepicker.js')
-rw-r--r-- | ui/widgets/datepicker.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ui/widgets/datepicker.js b/ui/widgets/datepicker.js index a271351e0..605760572 100644 --- a/ui/widgets/datepicker.js +++ b/ui/widgets/datepicker.js @@ -910,11 +910,8 @@ $.extend( Datepicker.prototype, { } }, - // #6694 - don't focus the input if it's already focused - // this breaks the change event in IE - // Support: IE and jQuery <1.9 _shouldFocusInput: function( inst ) { - return inst.input && inst.input.is( ":visible" ) && !inst.input.is( ":disabled" ) && !inst.input.is( ":focus" ); + return inst.input && inst.input.is( ":visible" ) && !inst.input.is( ":disabled" ); }, /* Check positioning to remain on screen. */ @@ -971,8 +968,7 @@ $.extend( Datepicker.prototype, { $.datepicker._tidyDialog( inst ); }; - // DEPRECATED: after BC for 1.8.x $.effects[ showAnim ] is not needed - if ( $.effects && ( $.effects.effect[ showAnim ] || $.effects[ showAnim ] ) ) { + if ( $.effects && ( $.effects.effect[ showAnim ] ) ) { inst.dpDiv.hide( showAnim, $.datepicker._get( inst, "showOptions" ), duration, postProcess ); } else { inst.dpDiv[ ( showAnim === "slideDown" ? "slideUp" : |