Skip to content

Commit

Permalink
Merge pull request #723 from biigle/spinning-wheel-bug
Browse files Browse the repository at this point in the history
Fix active spinning wheel after video finished loading
  • Loading branch information
mzur authored Dec 15, 2023
2 parents 26e8618 + a57b2e5 commit 997328a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion resources/assets/js/videos/videoContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,11 @@ export default {
.then(this.handleVideoInformationResponse)
.then(this.fetchVideoContent)
.catch(this.handleVideoError)
.finally(this.finishLoading);
.finally(() => {
this.finishLoading();
// Avoid spinning wheel continuing to be displayed after moving fast through videos
this.seeking = false;
});
return promise;
},
Expand Down

0 comments on commit 997328a

Please sign in to comment.