Improve reliability

1675-widget-improperly-configured-missing-resource-id
Georg Krause 2022-01-22 17:58:24 +00:00 zatwierdzone przez Ciarán Ainsworth
rodzic 35c6fe6c7b
commit bc44fa389f
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -252,7 +252,7 @@ function getURLParams () {
const decode = function (s) { return decodeURIComponent(s.replace(pl, ' ')) }
const query = window.location.search.substring(1)
while (match = search.exec(query)) { urlParams[decode(match[1])] = decode(match[2]) }
while ((match = search.exec(query)) !== null) { urlParams[decode(match[1])] = decode(match[2]) }
return urlParams
}
export default {