Fix broken demo-stand in Firefox

This commit is contained in:
Alexander Myshov 2015-06-16 20:43:34 +05:00
parent f99c26a5bf
commit 46b2588e57

View file

@ -5,7 +5,7 @@ var lastTime = Date.now();
function handle(e) {
if (form.elements[e.type + 'Ignore'].checked) return;
var text = event.type +
var text = e.type +
' keyCode=' + e.keyCode +
' which=' + e.which +
' charCode=' + e.charCode +
@ -25,4 +25,4 @@ function handle(e) {
if (form.elements[e.type + 'Stop'].checked) {
e.preventDefault();
}
}
}