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

Update src/controllers/playback/video/index.js

Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
imchasingshadows 2021-09-11 17:31:08 +02:00 committed by GitHub
parent 67a2e0f16d
commit b67a064d75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -403,11 +403,12 @@ import { appRouter } from '../../../components/appRouter';
}
function onFullscreenChanged() {
if (!layoutManager.tv) {
updateFullscreenIcon();
} else if (!playbackManager.isFullscreen(currentPlayer)) {
if (!playbackManager.isFullscreen(currentPlayer)) {
appRouter.back();
return;
}
updateFullscreenIcon();
}
function updateFullscreenIcon() {