summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2015-11-02 09:42:33 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2015-11-02 09:42:33 -0500
commit9d34e95045e5e0ff1281fd1eb2e5b20b7bf6ac8f (patch)
tree0608d6b8b7b8c0033c30d6e729cc8c5a6d88d012 /web
parent65acb1b201147ee20d3a07f97073ab7cd8c0efc2 (diff)
parente16f51e552a324be098bd622c765842358279131 (diff)
downloadchat-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')
-rw-r--r--web/react/utils/utils.jsx2
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) {