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.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/static/dartboat.js b/web/static/dartboat.js
index 35dac17..f700510 100644
--- a/web/static/dartboat.js
+++ b/web/static/dartboat.js
@@ -135,6 +135,8 @@ prompt_handlers.init = {
function setPromptHandler(ptr) {
let str = UTF8ToString(ptr);
prompt_handler = prompt_handlers[str];
+ document.getElementById('prompt').classList[
+ prompt_handler ? 'add' : 'remove']('active');
document.querySelectorAll('.keypad').forEach(e => e.style.display = 'none');
document.getElementById(`keypad-${str === 'init' ? 'init' : 'default'}`)