1
0
Fork 0
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:
Luke Pulverenti 2013-08-05 17:18:37 -04:00
parent 1c34ed63e3
commit f2de7a8983

View file

@ -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();
}
$('#previousTrackButton', nowPlayingBar).show();
$('#nextTrackButton', nowPlayingBar).show();
$('#playlistButton', nowPlayingBar).show();
$('#qualityButton', nowPlayingBar).hide();
$('#audioTracksButton', nowPlayingBar).hide();