Browse Source

Revert "Fixes #3542"

This reverts commit 7d23ab4a24808cab973ab8db76fc1b6bdb60dcbd.
Dan Korostelev 10 years ago
parent
commit
14dd5e0c3f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/js/_std/HxOverrides.hx

+ 1 - 1
std/js/_std/HxOverrides.hx

@@ -114,7 +114,7 @@ class HxOverrides {
 	}
 
 	static function remove<T>( a : Array<T>, obj : T ) {
-		var i = indexOf(a, obj, 0);
+		var i = a.indexOf(obj);
 		if( i == -1 ) return false;
 		a.splice(i,1);
 		return true;