Fix reset.

This commit is contained in:
Will Scullin 2019-03-01 06:54:22 -08:00
parent 13446c0afa
commit 2b63a4b569
No known key found for this signature in database
GPG Key ID: 9092A5C0A673416B
2 changed files with 4 additions and 2 deletions

View File

@ -124,8 +124,8 @@
</div>
</div>
<input id="reset" type="button" value="Reset"
onclick="keyboard.reset(event)"
oncontextmenu="keyboard.reset(event)" />
onclick="reset(event)"
oncontextmenu="reset(event)" />
</div>
<div class="inset">
<div id="keyboard"></div>

View File

@ -769,6 +769,8 @@ function processHash(hash) {
* Keyboard/Gamepad routines
*/
window.reset = keyboard.reset;
function _keydown(evt) {
audio.autoStart();