From 7b6565fe325a4a35ab2dd4861affe59ce9fef8a1 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Fri, 10 Feb 2023 13:22:38 +0100 Subject: [PATCH] Replace the jQuery UI 'fade' easing with the jQuery fadeIn and fadeOut methods --- assets/js/pages/booking.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/js/pages/booking.js b/assets/js/pages/booking.js index 38ba81b0..7ccd9e80 100644 --- a/assets/js/pages/booking.js +++ b/assets/js/pages/booking.js @@ -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(); }); });