diff --git a/web/client/plugins/drawer/Menu.jsx b/web/client/plugins/drawer/Menu.jsx index 541c8ed0eb..8727f18c67 100644 --- a/web/client/plugins/drawer/Menu.jsx +++ b/web/client/plugins/drawer/Menu.jsx @@ -32,7 +32,7 @@ var Menu = React.createClass({ }; }, componentDidMount() { - if (!this.overlapMap && this.props.show) { + if (!this.props.overlapMap && this.props.show) { let style = {left: this.props.width, width: `calc(100% - ${this.props.width}px)`}; this.props.changeMapStyle(style, "drawerMenu"); }