1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update routing

This commit is contained in:
Luke Pulverenti 2016-03-16 02:07:11 -04:00
parent 154f6b5fd8
commit 2cf4c1c4e0
3 changed files with 8 additions and 28 deletions

View file

@ -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) {