workaround implemented to avoid IE7 scope reset
[xynt.git] / web / test-hs.php
index 257d895..8d9082d 100644 (file)
@@ -9,7 +9,7 @@ var allmythings="BEGIN";
 window.onload = function () {
     var hs;
     console.log("zugu");
-    hs = new http_streaming(document, console);
+    hs = new http_streaming(window, console);
     hs.start('test-hs-rd.php');
 }