diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-10-09 21:16:47 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-10-09 21:16:47 +0300 |
commit | 3a7ae7c5f240287a4fc58eb3a321129be718d40c (patch) | |
tree | eb981308f87f296d984915a71efb5c51c24082f2 /client/components/main | |
parent | 28a01862d04654784bd6010035c3a6fe1690ba60 (diff) | |
download | wekan-3a7ae7c5f240287a4fc58eb3a321129be718d40c.tar.gz wekan-3a7ae7c5f240287a4fc58eb3a321129be718d40c.tar.bz2 wekan-3a7ae7c5f240287a4fc58eb3a321129be718d40c.zip |
Fix lint errors.
Diffstat (limited to 'client/components/main')
-rw-r--r-- | client/components/main/layouts.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/components/main/layouts.js b/client/components/main/layouts.js index 6d1f95d4..393f890b 100644 --- a/client/components/main/layouts.js +++ b/client/components/main/layouts.js @@ -7,7 +7,7 @@ const i18nTagToT9n = (i18nTag) => { }; const validator = { - set: function(obj, prop, value) { + set(obj, prop, value) { if (prop === 'state' && value !== 'signIn') { $('.at-form-authentication').hide(); } else if (prop === 'state' && value === 'signIn') { @@ -17,7 +17,7 @@ const validator = { obj[prop] = value; // Indicate success return true; - } + }, }; Template.userFormsLayout.onRendered(() => { @@ -82,7 +82,7 @@ Template.userFormsLayout.events({ }); }, 'click #at-btn'(event) { - /* All authentication method can be managed/called here. + /* All authentication method can be managed/called here. !! DON'T FORGET to correctly fill the fields of the user during its creation if necessary authenticationMethod : String !! */ const authenticationMethodSelected = $('.select-authentication').val(); |