mirror of https://github.com/sundowndev/Detank.git
update js
parent
7099cbc316
commit
4430f8f9cd
|
@ -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);
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue