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

update tabs

This commit is contained in:
Luke Pulverenti 2016-03-24 14:11:03 -04:00
parent 5738507576
commit e488108c2f
17 changed files with 430 additions and 562 deletions

View file

@ -75,12 +75,12 @@
var page = this;
var tabs = page.querySelector('paper-tabs');
var pages = page.querySelector('neon-animated-pages');
var pageTabsContainer = page.querySelector('.pageTabsContainer');
LibraryBrowser.configurePaperLibraryTabs(page, tabs, pages, 'channels.html');
LibraryBrowser.configurePaperLibraryTabs(page, tabs, pageTabsContainer, 'channels.html');
pages.addEventListener('tabchange', function (e) {
loadTab(page, parseInt(e.target.selected));
pageTabsContainer.addEventListener('tabchange', function (e) {
loadTab(page, parseInt(e.detail.selectedTabIndex));
});
});