Nicolas Cannasse 14 년 전
부모
커밋
c3c5076f19
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      std/haxe/remoting/ExternalConnection.hx

+ 1 - 1
std/haxe/remoting/ExternalConnection.hx

@@ -70,7 +70,7 @@ class ExternalConnection implements Connection, implements Dynamic<Connection> {
 			data = flash.external.ExternalInterface.call("haxe.remoting.ExternalConnection.doCall",__data.name,__path.join("."),params);
 		#elseif js
 			var fobj : Dynamic = untyped window.document[__data.flash];
-			if( fobj == null ) fobj = untyped window.document.getElementById[__data.flash];
+			if( fobj == null ) fobj = untyped window.document.getElementById(__data.flash);
 			if( fobj == null ) throw "Could not find flash object '"+__data.flash+"'";
 			try	data = fobj.externalRemotingCall(__data.name,__path.join("."),params) catch( e : Dynamic ) {};
 		#end