Skip to content

Commit

Permalink
included edge/firefox to supported browser types
Browse files Browse the repository at this point in the history
  • Loading branch information
will-craig committed Sep 25, 2023
1 parent 63f03b5 commit a670ecf
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 a670ecf

Please sign in to comment.