mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
always show next/prev buttons
This commit is contained in:
parent
1c34ed63e3
commit
f2de7a8983
1 changed files with 4 additions and 10 deletions
|
@ -378,7 +378,7 @@
|
|||
|
||||
var html = '';
|
||||
|
||||
var requiresControls = $.browser.android || $.browser.iphone || $.browser.ipad;
|
||||
var requiresControls = $.browser.android || ($.browser.webkit && !$.browser.chrome);
|
||||
|
||||
// Can't autoplay in these browsers so we need to use the full controls
|
||||
if (requiresControls) {
|
||||
|
@ -398,15 +398,9 @@
|
|||
$('#pauseButton', nowPlayingBar).show();
|
||||
$('#fullscreenButton', nowPlayingBar).hide();
|
||||
|
||||
if (requiresControls) {
|
||||
$('#previousTrackButton', nowPlayingBar).hide();
|
||||
$('#nextTrackButton', nowPlayingBar).hide();
|
||||
$('#playlistButton', nowPlayingBar).hide();
|
||||
} else {
|
||||
$('#previousTrackButton', nowPlayingBar).show();
|
||||
$('#nextTrackButton', nowPlayingBar).show();
|
||||
$('#playlistButton', nowPlayingBar).show();
|
||||
}
|
||||
|
||||
$('#qualityButton', nowPlayingBar).hide();
|
||||
$('#audioTracksButton', nowPlayingBar).hide();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue