update js

master
sundowndev 2017-12-08 21:38:23 +01:00
parent 7099cbc316
commit 4430f8f9cd
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -10,7 +10,7 @@
<h1>de_tank</h1>
</section>
<section class="map">
<div class="block"></div>
<div id="block1" class="block"></div>
</section>
</body>
<script src="assets/js/script.js"></script>