mirror of https://github.com/keeweb/keeweb
don't prevent closing main window during auto-type
parent
ce3ff8c3d8
commit
fdb492c572
|
@ -32,7 +32,6 @@ class AutoTypeSelectView extends View {
|
|||
constructor(model) {
|
||||
super(model);
|
||||
this.initScroll();
|
||||
this.listenTo(Events, 'main-window-will-close', this.mainWindowWillClose);
|
||||
this.listenTo(Events, 'keypress:auto-type', this.keyPressed);
|
||||
this.setupKeys();
|
||||
}
|
||||
|
@ -216,10 +215,6 @@ class AutoTypeSelectView extends View {
|
|||
this.showItemOptions(itemEl, e);
|
||||
}
|
||||
|
||||
mainWindowWillClose(e) {
|
||||
e.preventDefault();
|
||||
}
|
||||
|
||||
showItemOptions(itemEl, event) {
|
||||
if (event) {
|
||||
event.stopImmediatePropagation();
|
||||
|
|
Loading…
Reference in New Issue