diff options
Diffstat (limited to 'web/static')
-rw-r--r-- | web/static/dartboat.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/static/dartboat.js b/web/static/dartboat.js index ecbee74..b342809 100644 --- a/web/static/dartboat.js +++ b/web/static/dartboat.js @@ -212,6 +212,8 @@ document.addEventListener('keydown', e => { promptHandle('rem'); else if (e.key == 'u') promptHandle('undo'); + else if (e.key == 'X' && $('#key-exit').classList.contains('visible')) + promptHandle('exit'); }); if ('serviceWorker' in navigator) |