contet-menu: typo

This commit is contained in:
jean-emmanuel 2019-04-14 00:56:37 +02:00
parent b103d44791
commit c5671fa615

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