fixing a regression regarding navigating away from home screen (fixes #527)
This commit is contained in:
parent
8cd9e1f813
commit
dfd3a4481f
2 changed files with 6 additions and 2 deletions
|
@ -137,7 +137,9 @@ pandora.ui.home = function() {
|
|||
})
|
||||
.bindEvent({
|
||||
click: function() {
|
||||
pandora.UI.set({page: pandora.user.ui.page});
|
||||
pandora.UI.set({
|
||||
page: pandora.user.ui.page == 'home' ? '' : pandora.user.ui.page
|
||||
});
|
||||
that.fadeOutScreen();
|
||||
}
|
||||
})
|
||||
|
|
|
@ -145,7 +145,9 @@ pandora.ui.home = function() {
|
|||
})
|
||||
.bindEvent({
|
||||
click: function() {
|
||||
pandora.UI.set({page: pandora.user.ui.page});
|
||||
pandora.UI.set({
|
||||
page: pandora.user.ui.page == 'home' ? '' : pandora.user.ui.page
|
||||
});
|
||||
that.fadeOutScreen();
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue