summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorEnzo Ferrari <enzoigupi@gmail.com>2019-08-23 21:33:18 +0200
committerRĂ©mi Verschelde <rverschelde@gmail.com>2019-09-03 13:39:57 +0200
commit5323d24fadadbc6c4a109a9848fd9c3ea08f4474 (patch)
treee85d5e0b2f0c1d9f1218ff3d7052f91fe9f36985 /misc
parent41beecaa0818cc1b6eeeff2420de462c961d0247 (diff)
Fixed javascript code to remove animateStatusIndeterminate callback when the game is loaded.
(cherry picked from commit a5a413c7e971808576bbcf369e91208b51d0d819)
Diffstat (limited to 'misc')
-rw-r--r--misc/dist/html/full-size.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/dist/html/full-size.html b/misc/dist/html/full-size.html
index 0e8a41a9fc..349420b3f3 100644
--- a/misc/dist/html/full-size.html
+++ b/misc/dist/html/full-size.html
@@ -180,8 +180,8 @@ $GODOT_HEAD_INCLUDE
[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':