Skip to content

Commit

Permalink
Backport pull request #5681 from jellyfin-web/release-10.9.z
Browse files Browse the repository at this point in the history
Fix loading hides too early

Original-merge: 674b0b1

Merged-by: thornbill <[email protected]>

Backported-by: Joshua M. Boniface <[email protected]>
  • Loading branch information
dmitrylyzo authored and joshuaboniface committed Jun 23, 2024
1 parent 00e0288 commit 85b0697
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/playback/playbackmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -2295,7 +2295,7 @@ class PlaybackManager {
return playAfterBitrateDetect(bitrate, item, playOptions, onPlaybackStartedFn, prevSource)
.catch(onPlaybackRejection);
})
.finally(() => {
.catch(() => {
if (playOptions.fullscreen) {
loading.hide();
}
Expand Down Expand Up @@ -2354,8 +2354,6 @@ class PlaybackManager {
return;
}

loading.hide();

const options = Object.assign({}, playOptions);

options.mediaType = item.MediaType;
Expand Down

0 comments on commit 85b0697

Please sign in to comment.