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; return target;
}; };
} }
if (typeof Object.getOwnPropertySymbols != 'function') {
Object.getOwnPropertySymbols = function(target) {
return [];
};
}
} }

View file

@ -109,6 +109,3 @@ if ( checkLocalStorage ) {
} }
} }
} }
// IE 10/11 polyfill
!Object.getOwnPropertySymbols && (Object.getOwnPropertySymbols = function (){return[]});