Procházet zdrojové kódy

Fixed javascript code to remove animateStatusIndeterminate callback when the game is loaded.

Enzo Ferrari před 6 roky
rodič
revize
a5a413c7e9
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      misc/dist/html/full-size.html

+ 2 - 2
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':