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

update user data queries

This commit is contained in:
Luke Pulverenti 2016-05-11 10:36:28 -04:00
parent f7e2648d79
commit 144e773ee4
37 changed files with 196 additions and 238 deletions

View file

@ -190,7 +190,7 @@
elem.querySelector('.playlistButton').addEventListener('click', function () {
showRemoteControl('playlist');
showRemoteControl(2);
});
toggleRepeatButton = $('.toggleRepeatButton', elem).on('click', function () {
@ -254,10 +254,10 @@
}, 300);
}
function showRemoteControl(tab) {
function showRemoteControl(tabIndex) {
if (tab) {
Dashboard.navigate('nowplaying.html?tab=' + tab);
if (tabIndex) {
Dashboard.navigate('nowplaying.html?tab=' + tabIndex);
} else {
Dashboard.navigate('nowplaying.html');
}