mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update routing
This commit is contained in:
parent
154f6b5fd8
commit
2cf4c1c4e0
3 changed files with 8 additions and 28 deletions
|
@ -402,6 +402,8 @@
|
|||
|
||||
onTabbedpagebeforeshowInternal: function (page, e, isFirstLoad) {
|
||||
|
||||
var pages = page.querySelector('neon-animated-pages');
|
||||
|
||||
if (isFirstLoad) {
|
||||
|
||||
console.log('selected tab is null, checking query string');
|
||||
|
@ -420,13 +422,11 @@
|
|||
tabs.selected = selected;
|
||||
|
||||
} else {
|
||||
page.querySelector('neon-animated-pages').selected = selected;
|
||||
pages.selected = selected;
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
var pages = page.querySelector('neon-animated-pages');
|
||||
|
||||
// Go back to the first tab
|
||||
if (LibraryBrowser.enableFullPaperTabs() && !e.detail.isRestored) {
|
||||
if (pages.selected) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue