diff options
author | Bryce Johnson <bryce@gitlab.com> | 2016-09-09 18:49:48 +0300 |
---|---|---|
committer | Bryce Johnson <bryce@gitlab.com> | 2016-10-05 12:25:02 +0300 |
commit | 7beb9f3483cf59a9717c2ccc6bd102cd9a97f906 (patch) | |
tree | d4decfe0356721dcc1cd46088fdbe3e399f9306d /app/assets/javascripts/profile | |
parent | 5bc3b7be601a234dfbf16a32b2e58b95d3aa677b (diff) |
Pass default opts.
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 5b1a5920c95..5f674c36de5 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 = $('.edit-user') }) { + constructor({ form = $('.edit-user') } = {}) { this.onSubmitForm = this.onSubmitForm.bind(this); this.form = form; this.bindEvents(); |