don't repace spaces
This commit is contained in:
parent
a9ecadaf09
commit
50293fc654
@ -31,7 +31,7 @@ namespace pxsim {
|
|||||||
|
|
||||||
export function parseQueryString(): (key: string) => string {
|
export function parseQueryString(): (key: string) => string {
|
||||||
let qs = window.location.search.substring(1);
|
let qs = window.location.search.substring(1);
|
||||||
let getQsVal = (key: string) => decodeURIComponent((qs.split(`${key}=`)[1] || "").split("&")[0] || "").replace(/\+/g, " ");
|
let getQsVal = (key: string) => decodeURIComponent((qs.split(`${key}=`)[1] || "").split("&")[0] || ""); //.replace(/\+/g, " ");
|
||||||
return getQsVal;
|
return getQsVal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user