diff options
author | Christopher Speller <crspeller@gmail.com> | 2017-03-13 16:42:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-13 16:42:25 -0400 |
commit | 3b081bda080eceeb05c63e74cf2803821f1330ab (patch) | |
tree | 279a543eb8586de326fc8f06f42a871bfe8cd70b /webapp/utils/utils.jsx | |
parent | 33c1609aa47b5bb01a594aeb07a742d683866ffd (diff) | |
download | chat-3b081bda080eceeb05c63e74cf2803821f1330ab.tar.gz chat-3b081bda080eceeb05c63e74cf2803821f1330ab.tar.bz2 chat-3b081bda080eceeb05c63e74cf2803821f1330ab.zip |
Update eslint (#5752)
* Updating eslint
* Updating eslint-plugin-react
Diffstat (limited to 'webapp/utils/utils.jsx')
-rw-r--r-- | webapp/utils/utils.jsx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/webapp/utils/utils.jsx b/webapp/utils/utils.jsx index 34573a2e5..b4afc65b3 100644 --- a/webapp/utils/utils.jsx +++ b/webapp/utils/utils.jsx @@ -179,7 +179,7 @@ export function displayTime(ticks, utc) { ampm = ' PM'; } - hours = hours % 12; + hours %= 12; if (!hours) { hours = '12'; } @@ -1217,7 +1217,7 @@ export function isValidPassword(password) { error = true; } - errorId = errorId + 'Lowercase'; + errorId += 'Lowercase'; } if (global.window.mm_config.PasswordRequireUppercase === 'true') { @@ -1225,7 +1225,7 @@ export function isValidPassword(password) { error = true; } - errorId = errorId + 'Uppercase'; + errorId += 'Uppercase'; } if (global.window.mm_config.PasswordRequireNumber === 'true') { @@ -1233,7 +1233,7 @@ export function isValidPassword(password) { error = true; } - errorId = errorId + 'Number'; + errorId += 'Number'; } if (global.window.mm_config.PasswordRequireSymbol === 'true') { @@ -1241,7 +1241,7 @@ export function isValidPassword(password) { error = true; } - errorId = errorId + 'Symbol'; + errorId += 'Symbol'; } minimumLength = global.window.mm_config.PasswordMinimumLength; |