diff --git a/dist/app.css b/dist/app.css index 7591413..22760a8 100644 --- a/dist/app.css +++ b/dist/app.css @@ -1,3 +1,7 @@ +* { + outline: none; +} + body { padding: 0; margin: 0; diff --git a/dist/app.js b/dist/app.js index cb45723..cf69dd5 100644 --- a/dist/app.js +++ b/dist/app.js @@ -224,7 +224,7 @@ function resizeStage() { } tiles.forEach(function (button) { - button.onclick = function (e) { + button.onmousedown = function (e) { var tileId = e.target.id; var index = grid.indexOf(parseInt(tileId)); moveHorizontal(index); diff --git a/dist/index.html b/dist/index.html index 2e30277..b7fb255 100644 --- a/dist/index.html +++ b/dist/index.html @@ -3,7 +3,7 @@
- +