From 7c6334b2b3201324bfc6efeefecfdf8003fbcb59 Mon Sep 17 00:00:00 2001 From: "gman@google.com" Date: Tue, 30 Jun 2009 00:15:53 +0000 Subject: Fix particle sample for IE git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19566 0039d316-1c4b-4281-b951-d872f2087c98 --- o3d/samples/particles.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'o3d') diff --git a/o3d/samples/particles.html b/o3d/samples/particles.html index 15a7bb9..a82b334 100644 --- a/o3d/samples/particles.html +++ b/o3d/samples/particles.html @@ -182,9 +182,9 @@ function initStep3() { setupPoof(); setupTrail(); - window.addEventListener('keypress', onKeyPress, true); - window.addEventListener('keydown', onKeyDown, true); - window.addEventListener('keyup', onKeyUp, true); + window.document.onkeypress = onKeyPress; + window.document.onkeydown = onKeyDown; + window.document.onkeyup = onKeyUp; // Setup an onrender callback for animation. g_client.setRenderCallback(onrender); -- cgit v1.1