contet-menu: typo
This commit is contained in:
parent
858c19317c
commit
99e186a144
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ class ContextMenu {
|
|||
this.menu = null
|
||||
this.root = document.body
|
||||
this.clickHandler = (e)=>{
|
||||
if (this.menu && !this.menu.contains(event.target)) this.close()
|
||||
if (this.menu && !this.menu.contains(e.target)) this.close()
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue