mirror of https://github.com/vector-im/riot-web
Toggle Search using Room Header button
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
150c941340
commit
ac17e22556
|
@ -1305,7 +1305,7 @@ module.exports = React.createClass({
|
||||||
},
|
},
|
||||||
|
|
||||||
onSearchClick: function() {
|
onSearchClick: function() {
|
||||||
this.setState({ searching: true, showingPinned: false });
|
this.setState({ searching: !this.state.searching, showingPinned: false });
|
||||||
},
|
},
|
||||||
|
|
||||||
onCancelSearchClick: function() {
|
onCancelSearchClick: function() {
|
||||||
|
|
Loading…
Reference in New Issue