From daabc1cf7e79dbc24fa00368f32c93a9cc7cc7b1 Mon Sep 17 00:00:00 2001 From: Baltazar Gomez Date: Sun, 27 Aug 2017 15:50:35 -0600 Subject: [PATCH] fix menu bug #503 --- ui/js/component/menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/js/component/menu.js b/ui/js/component/menu.js index 2344aac5b..090820251 100644 --- a/ui/js/component/menu.js +++ b/ui/js/component/menu.js @@ -69,7 +69,7 @@ export class DropDownMenu extends React.PureComponent { }); } - handleWindowClick(e) { + handleWindowClick = (e) => { if ( this.state.menuOpen && (!this._menuDiv || !this._menuDiv.contains(e.target))