File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 422
422
var continueStep = true ;
423
423
424
424
if ( typeof ( this . _introBeforeChangeCallback ) !== 'undefined' ) {
425
- continueStep = this . _introBeforeChangeCallback . call ( this , nextStep . element ) ;
425
+ continueStep = this . _introBeforeChangeCallback . call ( this , nextStep && nextStep . element ) ;
426
426
}
427
427
428
428
// if `onbeforechange` returned `false`, stop displaying the element
463
463
var continueStep = true ;
464
464
465
465
if ( typeof ( this . _introBeforeChangeCallback ) !== 'undefined' ) {
466
- continueStep = this . _introBeforeChangeCallback . call ( this , nextStep . element ) ;
466
+ continueStep = this . _introBeforeChangeCallback . call ( this , nextStep && nextStep . element ) ;
467
467
}
468
468
469
469
// if `onbeforechange` returned `false`, stop displaying the element
You can’t perform that action at this time.
0 commit comments