fix blur event in menus, fix #348
This commit is contained in:
@@ -20,7 +20,7 @@ class Menu {
|
||||
this.options.editor.on('focus', ({ view }) => {
|
||||
this.update(view)
|
||||
})
|
||||
this.options.editor.on('blur', event => {
|
||||
this.options.editor.on('blur', ({ event }) => {
|
||||
this.hide(event)
|
||||
})
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ class Menu {
|
||||
this.options.editor.on('focus', ({ view }) => {
|
||||
this.update(view)
|
||||
})
|
||||
this.options.editor.on('blur', event => {
|
||||
this.options.editor.on('blur', ({ event }) => {
|
||||
this.hide(event)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user