From a9eb9fc9908873b326482cd51e1bd9767ca0c701 Mon Sep 17 00:00:00 2001 From: Kris Zyp Date: Fri, 17 Sep 2010 08:22:31 -0600 Subject: [PATCH] Go into interactive mode immediately when IE event handling is detected --- tests/browsertests/scriptloadinteractive/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/browsertests/scriptloadinteractive/index.html b/tests/browsertests/scriptloadinteractive/index.html index fc0c2dd33..4ffb51065 100644 --- a/tests/browsertests/scriptloadinteractive/index.html +++ b/tests/browsertests/scriptloadinteractive/index.html @@ -72,7 +72,6 @@ } else { //Probably IE. node.detachEvent("onreadystatechange", onTestScriptLoad); - useInteractive = true; } } } @@ -92,6 +91,7 @@ node.addEventListener("load", onTestScriptLoad, false); } else { //Probably IE. + useInteractive = true; node.attachEvent("onreadystatechange", onTestScriptLoad); }