1
0
Fork 0
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:
Ranbeer 2023-10-14 20:35:55 +05:30
parent 4c9199c7c6
commit e6828eeee8
7 changed files with 9 additions and 9 deletions

View file

@ -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);
}