mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
46f2a6fc15
commit
7c5dabe06d
6 changed files with 19 additions and 15 deletions
|
@ -423,14 +423,14 @@
|
|||
|
||||
function onPlayerChange() {
|
||||
|
||||
var currentPlayer = playbackManager.getCurrentPlayer();
|
||||
var player = playbackManager.getCurrentPlayer();
|
||||
|
||||
if (currentPlayer && !currentPlayer.isLocalPlayer) {
|
||||
if (player && !player.isLocalPlayer) {
|
||||
view.querySelector('.btnCast i').innerHTML = '';
|
||||
} else {
|
||||
view.querySelector('.btnCast i').innerHTML = '';
|
||||
}
|
||||
bindToPlayer(currentPlayer);
|
||||
bindToPlayer(player);
|
||||
}
|
||||
|
||||
function onStateChanged(event, state) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue