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

fix isBrowserEdge typo
This commit is contained in:
Harrison Healey
2015-11-02 09:42:33 -05:00

View File

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