Replace the jQuery UI 'fade' easing with the jQuery fadeIn and fadeOut methods

This commit is contained in:
Alex Tselegidis 2023-02-10 13:22:38 +01:00
parent 1ae06fcf0a
commit 7b6565fe32
1 changed files with 4 additions and 4 deletions

View File

@ -316,10 +316,10 @@ App.Pages.Booking = (function () {
$target
.parents()
.eq(1)
.hide('fade', () => {
.fadeOut(() => {
$('.active-step').removeClass('active-step');
$('#step-' + nextTabIndex).addClass('active-step');
$('#wizard-frame-' + nextTabIndex).show('fade');
$('#wizard-frame-' + nextTabIndex).fadeIn();
});
});
@ -335,10 +335,10 @@ App.Pages.Booking = (function () {
$(event.currentTarget)
.parents()
.eq(1)
.hide('fade', () => {
.fadeOut(() => {
$('.active-step').removeClass('active-step');
$('#step-' + prevTabIndex).addClass('active-step');
$('#wizard-frame-' + prevTabIndex).show('fade');
$('#wizard-frame-' + prevTabIndex).fadeIn();
});
});