Fix profile test failure.
This commit is contained in:
parent
07bf262ffe
commit
ed8f27e636
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
((global) => {
|
||||
|
||||
class Profile {
|
||||
constructor({ form }) {
|
||||
constructor({ form } = {}) {
|
||||
this.onSubmitForm = this.onSubmitForm.bind(this);
|
||||
this.form = form || $('.edit-user');
|
||||
this.bindEvents();
|
||||
|
|
Loading…
Reference in a new issue