Skip to content

Commit

Permalink
Fixes #73
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinark committed Jul 4, 2019
1 parent c02ee18 commit fe1ad86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/mstepper.js
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ class MStepper {
wrapper.appendChild(stepper);
// Returns the wrapper (the form)
return wrapper;
} else if (form.length) {
} else if (form && form.length) {
// The form exists
// Returns the form
return form;
Expand Down

0 comments on commit fe1ad86

Please sign in to comment.