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:
parent
2a9a088a9e
commit
c8c84652b9
3 changed files with 6 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue