Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce Johnson <bryce@gitlab.com>2016-09-27 14:37:26 +0300
committerBryce Johnson <bryce@gitlab.com>2016-10-05 12:25:05 +0300
commited8f27e636b4ba5cb9f02c97de4d3a34a732b79b (patch)
tree8250f24227fbaeacc55307e1720e1c3c07b2faa5 /app/assets/javascripts/profile
parent07bf262ffeb319e162fe81529af61b781a774bc2 (diff)
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();