summaryrefslogtreecommitdiffstats
path: root/afb-client/app
diff options
context:
space:
mode:
Diffstat (limited to 'afb-client/app')
-rw-r--r--afb-client/app/Frontend/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/afb-client/app/Frontend/app.js b/afb-client/app/Frontend/app.js
index 6360b75..6772243 100644
--- a/afb-client/app/Frontend/app.js
+++ b/afb-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;
}