From a5a413c7e971808576bbcf369e91208b51d0d819 Mon Sep 17 00:00:00 2001 From: Enzo Ferrari Date: Fri, 23 Aug 2019 21:33:18 +0200 Subject: [PATCH] Fixed javascript code to remove animateStatusIndeterminate callback when the game is loaded. --- misc/dist/html/full-size.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/dist/html/full-size.html b/misc/dist/html/full-size.html index 44b009524c30..cdeb588e6d84 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':