diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2015-09-04 12:34:55 -0400 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2015-09-04 12:34:55 -0400 |
commit | 45b034053a80f20b7d4972061d24e2e482c5503f (patch) | |
tree | e0d7983b21fe119da61b246f714ef5db536ee4fa /web | |
parent | f18657202866a748513f338c426f754b01f7db40 (diff) | |
download | chat-45b034053a80f20b7d4972061d24e2e482c5503f.tar.gz chat-45b034053a80f20b7d4972061d24e2e482c5503f.tar.bz2 chat-45b034053a80f20b7d4972061d24e2e482c5503f.zip |
Fixed @mentions containing uppercase characters
Diffstat (limited to 'web')
-rw-r--r-- | web/react/utils/utils.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx index ea42256aa..71cd1d344 100644 --- a/web/react/utils/utils.jsx +++ b/web/react/utils/utils.jsx @@ -498,7 +498,7 @@ export function textToJsx(textin, options) { // do both a non-case sensitive and case senstive check let mClass = ''; - if (('@' + name.toLowerCase()) !== -1 || implicitKeywords.indexOf('@' + name) !== -1) { + if (implicitKeywords.indexOf('@' + name.toLowerCase()) !== -1 || implicitKeywords.indexOf('@' + name) !== -1) { mClass = mentionClass; } |