Skip to content
Snippets Groups Projects
Commit fe414563 authored by Simon Knox's avatar Simon Knox
Browse files

fix IE11 error from sentry

parent 39a92659
No related branches found
No related tags found
3 merge requests!14773Maxraab master patch 51809,!12073Add RC2 changes to 9-3-stable,!11586fix IE11 error from sentry
Pipeline #
Loading
Loading
@@ -66,7 +66,8 @@ w.gl.utils.removeParamQueryString = function(url, param) {
})()).join('&');
};
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) => {
url.search = w.gl.utils.removeParamQueryString(url.search, param);
});
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment