From 2b63a4b5693e5307492583d6a0de4a3b80d054c1 Mon Sep 17 00:00:00 2001 From: Will Scullin Date: Fri, 1 Mar 2019 06:54:22 -0800 Subject: [PATCH] Fix reset. --- apple2jse.html | 4 ++-- js/main2e.js | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apple2jse.html b/apple2jse.html index e15c3ce..6af1290 100644 --- a/apple2jse.html +++ b/apple2jse.html @@ -124,8 +124,8 @@ + onclick="reset(event)" + oncontextmenu="reset(event)" />
diff --git a/js/main2e.js b/js/main2e.js index df4bc50..5892909 100644 --- a/js/main2e.js +++ b/js/main2e.js @@ -769,6 +769,8 @@ function processHash(hash) { * Keyboard/Gamepad routines */ +window.reset = keyboard.reset; + function _keydown(evt) { audio.autoStart();