summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/profile
diff options
context:
space:
mode:
authorBryce Johnson <bryce@gitlab.com>2016-09-27 13:37:26 +0200
committerBryce Johnson <bryce@gitlab.com>2016-10-05 11:25:05 +0200
commited8f27e636b4ba5cb9f02c97de4d3a34a732b79b (patch)
tree8250f24227fbaeacc55307e1720e1c3c07b2faa5 /app/assets/javascripts/profile
parent07bf262ffeb319e162fe81529af61b781a774bc2 (diff)
downloadgitlab-ce-ed8f27e636b4ba5cb9f02c97de4d3a34a732b79b.tar.gz
Fix profile test failure.
Diffstat (limited to 'app/assets/javascripts/profile')
-rw-r--r--app/assets/javascripts/profile/profile.js.es62
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();