1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

replace (!!) with (!)

Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
Freako 2023-10-14 20:56:28 +05:30 committed by GitHub
parent c727871922
commit ca0ea55bc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,7 @@ function showQualityMenu(player, btn) {
const bitrate = parseInt(id, 10);
if (bitrate !== selectedBitrate) {
playbackManager.setMaxStreamingBitrate({
enableAutomaticBitrateDetection: !!bitrate,
enableAutomaticBitrateDetection: !bitrate,
maxBitrate: bitrate
}, player);
}