mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
remove linter errors
This commit is contained in:
parent
4c9199c7c6
commit
e6828eeee8
7 changed files with 9 additions and 9 deletions
|
@ -291,7 +291,7 @@ function Guide(options) {
|
|||
showPremiereIndicator: allowIndicators && userSettings.get('guide-indicator-premiere') !== 'false',
|
||||
showNewIndicator: allowIndicators && userSettings.get('guide-indicator-new') !== 'false',
|
||||
showRepeatIndicator: allowIndicators && userSettings.get('guide-indicator-repeat') === 'true',
|
||||
showEpisodeTitle: layoutManager.tv ? false : true
|
||||
showEpisodeTitle: !layoutManager.tv
|
||||
};
|
||||
|
||||
apiClient.getLiveTvChannels(channelQuery).then(function (channelsResult) {
|
||||
|
|
|
@ -177,7 +177,7 @@ export function getListViewHtml(options) {
|
|||
const isLargeStyle = options.imageSize === 'large';
|
||||
const enableOverview = options.enableOverview;
|
||||
|
||||
const clickEntireItem = layoutManager.tv ? true : false;
|
||||
const clickEntireItem = layoutManager.tv;
|
||||
const outerTagName = clickEntireItem ? 'button' : 'div';
|
||||
const enableSideMediaInfo = options.enableSideMediaInfo != null ? options.enableSideMediaInfo : true;
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ function showQualityMenu(player, btn) {
|
|||
const bitrate = parseInt(id, 10);
|
||||
if (bitrate !== selectedBitrate) {
|
||||
playbackManager.setMaxStreamingBitrate({
|
||||
enableAutomaticBitrateDetection: bitrate ? false : true,
|
||||
enableAutomaticBitrateDetection: !!bitrate,
|
||||
maxBitrate: bitrate
|
||||
}, player);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue