Nicolas Cannasse před 19 roky
rodič
revize
2d2b3abe67
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      std/js/Boot.hx

+ 1 - 1
std/js/Boot.hx

@@ -109,7 +109,7 @@ class Boot {
 					// strange error on IE
 					return "???";
 				}
-				if( tostr != __js__("Object.toString") ) {
+				if( tostr != null && tostr != __js__("Object.toString") ) {
 					var s2 = o.toString();
 					if( s2 != "[object Object]")
 						return s2;