diff options
author | Bryce Johnson <bryce@gitlab.com> | 2016-09-27 13:37:26 +0200 |
---|---|---|
committer | Bryce Johnson <bryce@gitlab.com> | 2016-10-05 11:25:05 +0200 |
commit | ed8f27e636b4ba5cb9f02c97de4d3a34a732b79b (patch) | |
tree | 8250f24227fbaeacc55307e1720e1c3c07b2faa5 /app/assets/javascripts/profile | |
parent | 07bf262ffeb319e162fe81529af61b781a774bc2 (diff) | |
download | gitlab-ce-ed8f27e636b4ba5cb9f02c97de4d3a34a732b79b.tar.gz |
Fix profile test failure.
Diffstat (limited to 'app/assets/javascripts/profile')
-rw-r--r-- | app/assets/javascripts/profile/profile.js.es6 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/profile/profile.js.es6 b/app/assets/javascripts/profile/profile.js.es6 index c16eb93a2dd..b2307be73ad 100644 --- a/app/assets/javascripts/profile/profile.js.es6 +++ b/app/assets/javascripts/profile/profile.js.es6 @@ -1,7 +1,7 @@ ((global) => { class Profile { - constructor({ form }) { + constructor({ form } = {}) { this.onSubmitForm = this.onSubmitForm.bind(this); this.form = form || $('.edit-user'); this.bindEvents(); |