Forgot to assign the default argument

This commit is contained in:
impinball 2015-07-13 14:53:26 -04:00
parent db56f9b635
commit a4e6567b82

View file

@ -755,7 +755,7 @@ var m = (function app(window, undefined) {
else if (isString(root)) {
var oldRoute = currentRoute;
currentRoute = root;
arg1 || {};
arg1 = arg1 || {};
var queryIndex = currentRoute.indexOf("?");
var params = queryIndex > -1 ? parseQueryString(currentRoute.slice(queryIndex + 1)) : {};
for (var i in arg1) params[i] = arg1[i];