index.js: fix a bug related to navigatingg back to the home screen
This commit is contained in:
parent
c600c250b0
commit
a4ce29bff7
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -683,7 +683,7 @@ Ox.load(/^https?:\/\/(www\.)?oxjs\.org\//.test(
|
|||
if (app.user.page != app.user.previousPage) {
|
||||
app.$ui.panel.select(app.user.page);
|
||||
}
|
||||
app.$ui[url.page].options({selected: url.item});
|
||||
url.page && app.$ui[url.page].options({selected: url.item});
|
||||
if (!app.user.page || !app.user.previousPage) {
|
||||
app.animate();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue