mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Update src/scripts/autocast.js
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
parent
a8e6eaff48
commit
e4db027bbb
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ export function isEnabled() {
|
||||||
const playerId = localStorage.getItem('autocastPlayerId');
|
const playerId = localStorage.getItem('autocastPlayerId');
|
||||||
const currentPlayerInfo = playbackManager.getPlayerInfo();
|
const currentPlayerInfo = playbackManager.getPlayerInfo();
|
||||||
|
|
||||||
return currentPlayerInfo?.id === playerId
|
return currentPlayerInfo?.id === playerId;
|
||||||
}
|
}
|
||||||
|
|
||||||
function onOpen() {
|
function onOpen() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue