mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add more live tv buttons
This commit is contained in:
parent
4094adb5a7
commit
f491228119
114 changed files with 1076 additions and 310 deletions
|
@ -213,10 +213,15 @@
|
|||
var selected = this.selected;
|
||||
if (LibraryBrowser.navigateOnLibraryTabSelect()) {
|
||||
|
||||
var url = 'photos.html';
|
||||
var topParentId = LibraryMenu.getTopParentId();
|
||||
if (topParentId) {
|
||||
url += '?topParentId=' + topParentId;
|
||||
}
|
||||
if (selected) {
|
||||
Dashboard.navigate('photos.html?tab=' + selected + '&topParentId=' + LibraryMenu.getTopParentId());
|
||||
Dashboard.navigate(url + '&tab=' + selected);
|
||||
} else {
|
||||
Dashboard.navigate('photos.html?topParentId=' + LibraryMenu.getTopParentId());
|
||||
Dashboard.navigate(url);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue