Fix for ie11

This commit is contained in:
Julia Radzhabova 2022-08-31 16:15:09 +03:00
parent e09d06b5cc
commit af095f9d31
2 changed files with 7 additions and 4 deletions

View file

@ -31,4 +31,10 @@ if ( !window.fetch ) {
return target;
};
}
if (typeof Object.getOwnPropertySymbols != 'function') {
Object.getOwnPropertySymbols = function(target) {
return [];
};
}
}

View file

@ -108,7 +108,4 @@ if ( checkLocalStorage ) {
document.body.classList.add("content-theme-dark");
}
}
}
// IE 10/11 polyfill
!Object.getOwnPropertySymbols && (Object.getOwnPropertySymbols = function (){return[]});
}