1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 14:53:33 +00:00

Remove old IE Edge hacks

This commit is contained in:
Chad Scharf
2020-09-15 10:50:45 -04:00
parent 8efb46eca2
commit dbbd07641a
20 changed files with 49 additions and 1271 deletions

View File

@@ -32,7 +32,7 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService
} else if ((!!(window as any).opr && !!opr.addons) || !!(window as any).opera ||
navigator.userAgent.indexOf(' OPR/') >= 0) {
this.deviceCache = DeviceType.OperaExtension;
} else if (navigator.userAgent.indexOf(' Edge/') !== -1) {
} else if (navigator.userAgent.indexOf(' Edg/') !== -1) {
this.deviceCache = DeviceType.EdgeExtension;
} else if (navigator.userAgent.indexOf(' Vivaldi/') !== -1) {
this.deviceCache = DeviceType.VivaldiExtension;