off by one fromString
This commit is contained in:
parent
ac7a52562f
commit
3729153e29
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ var app = new Ox.App({
|
||||||
selectedMovies: []
|
selectedMovies: []
|
||||||
};
|
};
|
||||||
|
|
||||||
app.Query.fromString(location.hash.substr(2));
|
app.Query.fromString(location.hash.substr(1));
|
||||||
|
|
||||||
app.$ui.mainMenu = app.constructMainMenu();
|
app.$ui.mainMenu = app.constructMainMenu();
|
||||||
app.$ui.sections = app.constructSections();
|
app.$ui.sections = app.constructSections();
|
||||||
|
@ -84,7 +84,7 @@ app.url = function(url) {
|
||||||
var view = url.split('/')[2] || app.user.ui.itemView;
|
var view = url.split('/')[2] || app.user.ui.itemView;
|
||||||
app.constructItem(id, view);
|
app.constructItem(id, view);
|
||||||
} else {
|
} else {
|
||||||
app.Query.fromString(location.hash.substr(2));
|
app.Query.fromString(location.hash.substr(1));
|
||||||
app.$ui.rightPanel.replace(1, app.constructContentPanel());
|
app.$ui.rightPanel.replace(1, app.constructContentPanel());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue