2
0
Эх сурвалжийг харах

[js] Correct time units in setTimeout, closes #9121 (#9125)

George Corney 5 жил өмнө
parent
commit
479a838063

+ 1 - 1
std/haxe/EntryPoint.hx

@@ -110,7 +110,7 @@ class EntryPoint {
 		var nextTick = processEvents();
 		inline function setTimeoutNextTick() {
 			if (nextTick >= 0) {
-				(untyped setTimeout)(run, nextTick);
+				(untyped setTimeout)(run, nextTick * 1000);
 			}
 		}
 		#if nodejs