mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix parenthesis
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
parent
ac01a26dcc
commit
c65a6dc888
1 changed files with 4 additions and 1 deletions
|
@ -646,7 +646,10 @@ export default function () {
|
|||
}
|
||||
|
||||
function bindToPlayer(context, player) {
|
||||
if ((releaseCurrentPlayer(), currentPlayer = player, player)) {
|
||||
releaseCurrentPlayer();
|
||||
currentPlayer = player;
|
||||
|
||||
if (player) {
|
||||
const state = playbackManager.getPlayerState(player);
|
||||
onStateChanged.call(player, {
|
||||
type: 'init'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue