Skip to content

Commit

Permalink
Fixed javascript code to remove animateStatusIndeterminate callback w…
Browse files Browse the repository at this point in the history
…hen the game is loaded.

(cherry picked from commit a5a413c)
  • Loading branch information
Enzo Ferrari authored and akien-mga committed Sep 3, 2019
1 parent 41beeca commit 5323d24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc/dist/html/full-size.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@
[statusProgress, statusIndeterminate, statusNotice].forEach(elem => {
elem.style.display = 'none';
});
if (animateStatusIndeterminate in animationCallbacks) {
animationCallbacks.erase(animateStatusIndeterminate);
animationCallbacks = animationCallbacks.filter(function(value) {
return (value != animateStatusIndeterminate);
}
switch (mode) {
case 'progress':
Expand Down

0 comments on commit 5323d24

Please sign in to comment.