Merge pull request #30 from myshov/patch-5

Fix broken demo-stand in Firefox
This commit is contained in:
Ilya Kantor 2015-06-20 14:25:38 +03:00
commit 3e1481d049

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();
}
}
}