fix IE11 error from sentry
This commit is contained in:
parent
39a9265969
commit
fe41456393
1 changed files with 2 additions and 1 deletions
|
@ -66,7 +66,8 @@ w.gl.utils.removeParamQueryString = function(url, param) {
|
||||||
})()).join('&');
|
})()).join('&');
|
||||||
};
|
};
|
||||||
w.gl.utils.removeParams = (params) => {
|
w.gl.utils.removeParams = (params) => {
|
||||||
const url = new URL(window.location.href);
|
const url = document.createElement('a');
|
||||||
|
url.href = window.location.href;
|
||||||
params.forEach((param) => {
|
params.forEach((param) => {
|
||||||
url.search = w.gl.utils.removeParamQueryString(url.search, param);
|
url.search = w.gl.utils.removeParamQueryString(url.search, param);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue