1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-14 19:02:33 +03:00

Simplify expression

This commit is contained in:
Luke Barnard
2017-05-18 17:08:26 +01:00
parent ee64f4a8dd
commit 32818aff4f

View File

@@ -154,7 +154,7 @@ export default class Dropdown extends React.Component {
_onInputClick(ev) {
if (!this.state.expanded) {
this.setState({
expanded: !this.state.expanded,
expanded: true,
});
ev.preventDefault();
}