Convert remaining simple quotes to double quotes

This commit is contained in:
Simon Ser
2022-02-26 09:54:31 +01:00
parent e37d5f363b
commit 3dc98ec797
3 changed files with 4 additions and 4 deletions

View File

@@ -60,11 +60,11 @@ function isProduction() {
function parseQueryString() {
let query = window.location.search.substring(1);
let params = {};
query.split('&').forEach((s) => {
query.split("&").forEach((s) => {
if (!s) {
return;
}
let pair = s.split('=');
let pair = s.split("=");
params[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1] || "");
});
return params;