don't repace spaces

This commit is contained in:
Peli de Halleux 2016-09-02 21:38:22 -07:00
parent a9ecadaf09
commit 50293fc654
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ namespace pxsim {
export function parseQueryString(): (key: string) => string {
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;
}
}