Skip to content

Commit

Permalink
included edge/firefox to supported browser types (#1273)
Browse files Browse the repository at this point in the history
  • Loading branch information
will-craig authored Sep 26, 2023
1 parent 63f03b5 commit 76debee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class DeviceType {
}

isSupportedBrowser(): boolean {
const supportedBrowsers = [BROWSERS.CHROME, BROWSERS.MS_EDGE_CHROMIUM];
const supportedBrowsers = [BROWSERS.CHROME, BROWSERS.MS_EDGE_CHROMIUM, BROWSERS.MS_EDGE, BROWSERS.FIREFOX];
const browser = this.deviceDetectorService.browser;
return supportedBrowsers.findIndex(x => x.toUpperCase() === browser.toUpperCase()) > -1;
}
Expand Down

0 comments on commit 76debee

Please sign in to comment.