From 21ebcbf88c1d3873a99bc40ca1b95b38dfff0b14 Mon Sep 17 00:00:00 2001 From: eelfroth Date: Fri, 6 Jan 2017 01:58:24 +0100 Subject: [PATCH] ported to firefox --- template.interface.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template.interface.html b/template.interface.html index 8fa0943..281cecf 100644 --- a/template.interface.html +++ b/template.interface.html @@ -27,7 +27,7 @@ dotgrid = new Dotgrid(320,568,31,61,6,6, 1,"square","#000000"); dotgrid.install(); var keyboard = new Keyboard(); - document.onkeyup = function myFunction(){ keyboard.listen(event); }; + document.onkeyup = function myFunction(event){ keyboard.listen(event); }; document.addEventListener('mousedown', function(e){ dotgrid.mouse_down(e); }, false); document.addEventListener('mousemove', function(e){ dotgrid.mouse_move(e); }, false); document.addEventListener('mouseup', function(e){ dotgrid.mouse_up(e);}, false);