This commit is contained in:
Dmitry Vasilev
2022-10-26 00:39:22 +08:00
parent 6a11e1d0d8
commit 9ab8ddec68
2 changed files with 7 additions and 4 deletions

View File

@@ -111,10 +111,10 @@ export class UI {
))
)
this.root.addEventListener('keydown', () => this.clear_status(), true)
this.root.addEventListener('click', () => this.clear_status(), true)
window.addEventListener('keydown', () => this.clear_status(), true)
window.addEventListener('click', () => this.clear_status(), true)
this.root.addEventListener('keydown', e => {
window.addEventListener('keydown', e => {
if(e.key == 'F2') {
this.set_active_tab('calltree')
}