diff --git a/misc/dist/html/full-size.html b/misc/dist/html/full-size.html index 44b009524c3..cdeb588e6d8 100644 --- a/misc/dist/html/full-size.html +++ b/misc/dist/html/full-size.html @@ -175,8 +175,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':