summaryrefslogtreecommitdiffstats
path: root/o3d
diff options
context:
space:
mode:
authorgman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-30 00:15:53 +0000
committergman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-30 00:15:53 +0000
commit7c6334b2b3201324bfc6efeefecfdf8003fbcb59 (patch)
treed6f5571915ec4549fe3187671793e49d0edfddf5 /o3d
parent6bb9643698ffd0679a5ac1b8ec1bfb3420724312 (diff)
downloadchromium_src-7c6334b2b3201324bfc6efeefecfdf8003fbcb59.zip
chromium_src-7c6334b2b3201324bfc6efeefecfdf8003fbcb59.tar.gz
chromium_src-7c6334b2b3201324bfc6efeefecfdf8003fbcb59.tar.bz2
Fix particle sample for IE
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19566 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d')
-rw-r--r--o3d/samples/particles.html6
1 files changed, 3 insertions, 3 deletions
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);