diff options
Diffstat (limited to 'afm-client')
-rw-r--r-- | afm-client/app/Frontend/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/afm-client/app/Frontend/app.js b/afm-client/app/Frontend/app.js index 24d5539..d332894 100644 --- a/afm-client/app/Frontend/app.js +++ b/afm-client/app/Frontend/app.js @@ -6,7 +6,7 @@ location.search.substr(1).split("&").forEach(function(item) { var k = item.split("=")[0]; var v = decodeURIComponent(item.split("=")[1]); - (k in qd) ? qd[k].push(v) : qd[k] = [v]; + if (k in qd) qd[k].push(v); else qd[k] = [v]; }); return qd; } |