summaryrefslogtreecommitdiffstats
path: root/main.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'main.mjs')
-rw-r--r--main.mjs7
1 files changed, 7 insertions, 0 deletions
diff --git a/main.mjs b/main.mjs
index 9aa4dd2..452620d 100644
--- a/main.mjs
+++ b/main.mjs
@@ -73,6 +73,13 @@ function init() {
document.querySelectorAll(KeyPicker.name).forEach(kp => {
kp.addEventListener(kp.noteEnterEvent, noteEnter);
kp.addEventListener(kp.noteLeaveEvent, noteLeave);
+ });
+
+ document.querySelector('a.run').forEach(a => {
+ a.onclick = e => {
+ e.preventDefault();
+ location.reload(true);
+ }
})
}
document.addEventListener('DOMContentLoaded', init);