Forgot to assign the default argument
This commit is contained in:
parent
db56f9b635
commit
a4e6567b82
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue