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

update detail page

This commit is contained in:
Luke Pulverenti 2015-08-24 14:22:44 -04:00
parent 7b7db4e5af
commit 65ed0d3d3c
6 changed files with 49 additions and 16 deletions

View file

@ -1503,13 +1503,13 @@
var selected = parseInt(getParameterByName('tab') || '0');
if (selected) {
page.querySelector('paper-tabs').selected = 0;
page.querySelector('paper-tabs').selected = 0;
if (selected) {
// Looks like a bug in paper-tabs. It won't set the tab if we try to do it too quickly
setTimeout(function () {
page.querySelectorAll('paper-tab')[selected].click();
page.querySelector('paper-tabs').selected = selected;
}, 700);
}