forked from 0x2620/pandora
remove tv when going to dialog from home, hide volume control when going to tv from home (fixes #1794)
This commit is contained in:
parent
4f11636623
commit
1de58ea400
6 changed files with 9 additions and 7 deletions
|
|
@ -59,9 +59,7 @@ pandora.ui.appPanel = function() {
|
|||
pandora.$ui[dialog + 'Dialog'].close();
|
||||
}
|
||||
});
|
||||
if (pandora.$ui.tv) {
|
||||
pandora.$ui.tv.fadeOutScreen();
|
||||
}
|
||||
pandora.$ui.tv && pandora.$ui.tv.fadeOutScreen();
|
||||
} else if (page == 'home') {
|
||||
if (pandora.$ui.appPanel) {
|
||||
// unless we're on page load, show home screen
|
||||
|
|
@ -81,6 +79,8 @@ pandora.ui.appPanel = function() {
|
|||
pandora.$ui[dialog + 'Dialog'].close();
|
||||
}
|
||||
});
|
||||
// remove tv (may be active behind home screen)
|
||||
pandora.$ui.tv && pandora.$ui.tv.remove();
|
||||
if (Ox.getIndexById(pandora.site.sitePages, page) > -1 || page == 'software') {
|
||||
if (pandora.$ui.siteDialog && pandora.$ui.siteDialog.is(':visible')) {
|
||||
pandora.$ui.siteDialog.select(page);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue