Merge pull request #30864 from enzogupi/patch-1

HTML5 default loader: small bugfix
This commit is contained in:
Rémi Verschelde 2019-09-03 13:32:40 +02:00 committed by GitHub
commit 8acaac10b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -175,8 +175,8 @@ $GODOT_HEAD_INCLUDE
[statusProgress, statusIndeterminate, statusNotice].forEach(elem => { [statusProgress, statusIndeterminate, statusNotice].forEach(elem => {
elem.style.display = 'none'; elem.style.display = 'none';
}); });
if (animateStatusIndeterminate in animationCallbacks) { animationCallbacks = animationCallbacks.filter(function(value) {
animationCallbacks.erase(animateStatusIndeterminate); return (value != animateStatusIndeterminate);
} }
switch (mode) { switch (mode) {
case 'progress': case 'progress':