Pascal Peridont 19 years ago
parent
commit
264d469d48
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/haxe/Timer.hx

+ 1 - 1
std/haxe/Timer.hx

@@ -40,7 +40,7 @@ class Timer {
 		#else js
 			var id = arr.length;
 			arr[id] = this;
-			timerId = untyped window.setInterval("js.Timer.arr["+id+"].run();",time);
+			timerId = untyped window.setInterval("haxe.Timer.arr["+id+"].run();",time);
 		#else error
 		#end
 	}