contet-menu: typo

This commit is contained in:
jean-emmanuel 2019-04-14 00:56:37 +02:00
parent 858c19317c
commit 99e186a144

View file

@ -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()
}
}