mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
Simplify expression
This commit is contained in:
parent
ee64f4a8dd
commit
32818aff4f
@ -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();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user