summaryrefslogtreecommitdiff
path: root/web/static/dartboat.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/static/dartboat.js')
-rw-r--r--web/static/dartboat.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/static/dartboat.js b/web/static/dartboat.js
index 6a0d07b..b007c81 100644
--- a/web/static/dartboat.js
+++ b/web/static/dartboat.js
@@ -79,6 +79,7 @@ let prompt_handlers = {
},
undo() {
+ this.clear();
let cl = document.getElementById('key_undo').classList;
if (cl.contains('active'))
Module.ccall('user_undo');