This commit is contained in:
2019-10-31 08:24:02 +01:00
parent 7249f46c37
commit bfe422bbdd
4 changed files with 34 additions and 21 deletions

View File

@ -14,7 +14,7 @@
function addButton($action, $label) {
?>
<div><?=$label?></div>
<button type='button' onclick='changeKey(this, "<?=$action?>")'>
<button type="button" onclick="changeKey(this, '<?=$action?>')">
<script>getKey("<?=$action?>")</script>
</button>
<?php }
@ -29,7 +29,7 @@
?>
</div>
<div id="play">
<a href="webtris.html">JOUER</a>
<a href="webtris.php">JOUER</a>
</div>
</body>
</html>