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

hide queue button if nothing playing, poster links to item details

This commit is contained in:
Techywarrior 2013-04-17 18:51:31 -07:00
parent 2a9a088a9e
commit c8c84652b9
3 changed files with 6 additions and 3 deletions

View file

@ -38,7 +38,10 @@
if (MediaPlayer.canPlay(item)) {
$('#btnPlayMenu', page).show();
$('#playButtonShadow', page).show();
$('#btnQueueMenu', page).show();
if (MediaPlayer.isPlaying())
$('#btnQueueMenu', page).show();
else
$('#btnQueueMenu', page).hide();
} else {
$('#btnPlayMenu', page).hide();
$('#playButtonShadow', page).hide();