mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Merge pull request #1260 from vinnymac/fix/browser-detection
fix isBrowserEdge typo
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user