diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-08 14:36:33 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-08 14:36:33 +1200 |
commit | f1aa169d98cb4e2944dfaed13981026602f800c5 (patch) | |
tree | 506df91f9d379d066680719b18821446ce151f19 /web/app/view/dialog/Register.js | |
parent | a0f78576969f69c9f4481e586b1319a870728c94 (diff) | |
download | trackermap-web-f1aa169d98cb4e2944dfaed13981026602f800c5.tar.gz trackermap-web-f1aa169d98cb4e2944dfaed13981026602f800c5.tar.bz2 trackermap-web-f1aa169d98cb4e2944dfaed13981026602f800c5.zip |
Fix code style issue
Diffstat (limited to 'web/app/view/dialog/Register.js')
-rw-r--r-- | web/app/view/dialog/Register.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/dialog/Register.js b/web/app/view/dialog/Register.js index fec30683..03b3009b 100644 --- a/web/app/view/dialog/Register.js +++ b/web/app/view/dialog/Register.js @@ -42,9 +42,9 @@ Ext.define('Traccar.view.dialog.Register', { fieldLabel: Strings.userEmail, validator: function (val) { if (/(.+)@(.+){2,}\.(.+){2,}/.test(val)) { - return true; + return true; } else { - return Ext.form.field.VTypes.emailText; + return Ext.form.field.VTypes.emailText; } }, allowBlank: false |