Răsfoiți Sursa

fixed firstElement

Nicolas Cannasse 19 ani în urmă
părinte
comite
ef08bc5e62
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      std/flash/FlashXml__.hx

+ 1 - 1
std/flash/FlashXml__.hx

@@ -115,7 +115,7 @@ class FlashXml__ {
 
 	public function firstElement(){
 		var e = __x.firstChild;
-		while( e != null && e.nodeType != 3 )
+		while( e != null && e.nodeType != 1 )
 			e = e.nextSibling;
 		return convert(e);
 	}