File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -323,7 +323,7 @@ App.Pages.Booking = (function () {
323
323
* Some special tasks might be performed, depending on the current wizard step.
324
324
*/
325
325
$ ( '.button-next' ) . on ( 'click' , ( event ) => {
326
- const $target = $ ( event . target ) ;
326
+ const $target = $ ( event . currentTarget ) ;
327
327
328
328
// If we are on the first step and there is no provider selected do not continue with the next step.
329
329
if ( $target . attr ( 'data-step_index' ) === '1' && ! $selectProvider . val ( ) ) {
@@ -374,9 +374,9 @@ App.Pages.Booking = (function () {
374
374
* book wizard.
375
375
*/
376
376
$ ( '.button-back' ) . on ( 'click' , ( event ) => {
377
- const prevTabIndex = parseInt ( $ ( event . target ) . attr ( 'data-step_index' ) ) - 1 ;
377
+ const prevTabIndex = parseInt ( $ ( event . currentTarget ) . attr ( 'data-step_index' ) ) - 1 ;
378
378
379
- $ ( event . target )
379
+ $ ( event . currentTarget )
380
380
. parents ( )
381
381
. eq ( 1 )
382
382
. hide ( 'fade' , ( ) => {
You can’t perform that action at this time.
0 commit comments