diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2015-11-02 09:42:33 -0500 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2015-11-02 09:42:33 -0500 |
commit | 9d34e95045e5e0ff1281fd1eb2e5b20b7bf6ac8f (patch) | |
tree | 0608d6b8b7b8c0033c30d6e729cc8c5a6d88d012 /web/react/utils/utils.jsx | |
parent | 65acb1b201147ee20d3a07f97073ab7cd8c0efc2 (diff) | |
parent | e16f51e552a324be098bd622c765842358279131 (diff) | |
download | chat-9d34e95045e5e0ff1281fd1eb2e5b20b7bf6ac8f.tar.gz chat-9d34e95045e5e0ff1281fd1eb2e5b20b7bf6ac8f.tar.bz2 chat-9d34e95045e5e0ff1281fd1eb2e5b20b7bf6ac8f.zip |
Merge pull request #1260 from vinnymac/fix/browser-detection
fix isBrowserEdge typo
Diffstat (limited to 'web/react/utils/utils.jsx')
-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 c7c8549b9..4bd651649 100644 --- a/web/react/utils/utils.jsx +++ b/web/react/utils/utils.jsx @@ -976,7 +976,7 @@ export function isBrowserIE() { } export function isBrowserEdge() { - return window.naviagtor && navigator.userAgent && navigator.userAgent.toLowerCase().indexOf('edge') > -1; + return window.navigator && navigator.userAgent && navigator.userAgent.toLowerCase().indexOf('edge') > -1; } export function getDirectChannelName(id, otherId) { |