mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-06 12:10:04 +00:00
fix(*): use fetch polyfill in Firefox 60
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
export function isIEorEDGE() {
|
||||
export function isIEorEdgeOrFirefox60() {
|
||||
const ua = window.navigator.userAgent;
|
||||
|
||||
if (ua.indexOf("Firefox/60") > 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
const msie = ua.indexOf("MSIE ");
|
||||
if (msie > 0) {
|
||||
// IE 10 or older => return version number
|
||||
|
||||
Reference in New Issue
Block a user