Merge pull request #1260 from vinnymac/fix/browser-detection

fix isBrowserEdge typo
Этот коммит содержится в:
Harrison Healey
2015-11-02 09:42:33 -05:00
родитель 65acb1b201 e16f51e552
Коммит 9d34e95045

Просмотреть файл

@@ -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) {