diff --git a/assets/js/script.js b/assets/js/script.js index 6b0a1cb..e940a03 100644 --- a/assets/js/script.js +++ b/assets/js/script.js @@ -1,6 +1,6 @@ function move(event) { var k = event.keyCode, - chrId = document.querySelector('.block'), + chrId = document.querySelector('#block1'), chr = { updown: function () { var y = parseInt(getComputedStyle(chrId).top); diff --git a/index.html b/index.html index cec1847..1837df1 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@

de_tank

-
+