diff options
Diffstat (limited to 'web/static/dartboat.js')
-rw-r--r-- | web/static/dartboat.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/static/dartboat.js b/web/static/dartboat.js index 6051b7e..9e97dfc 100644 --- a/web/static/dartboat.js +++ b/web/static/dartboat.js @@ -158,6 +158,7 @@ document.addEventListener('DOMContentLoaded', () => { command.split(';').forEach(x => promptHandle(...x.split(':', 2))); }); + $('#key-exit').addEventListener('click', () => promptHandle('exit')); f = e => _set_opt(toCString(e.target.dataset.opt), toCString(e.target.value)); |