diff --git a/sim/simlib.ts b/sim/simlib.ts index 03276157..ecdf3231 100644 --- a/sim/simlib.ts +++ b/sim/simlib.ts @@ -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; } }