make it work

This commit is contained in:
Matthew Hodgson
2016-09-13 19:00:35 +01:00
parent 32b1b6f58a
commit eb6a4f97ba
3 changed files with 31 additions and 4 deletions
+3 -3
View File
@@ -115,8 +115,8 @@ module.exports = React.createClass({
}).done();
},
onCollapseRhsClick: function(ev) {
dis.dispatch({ action: 'hide_right_panel' });
onShowRhsClick: function(ev) {
dis.dispatch({ action: 'show_right_panel' });
},
/**
@@ -294,7 +294,7 @@ module.exports = React.createClass({
var rightPanel_buttons;
if (this.props.collapsedRhs) {
rightPanel_buttons =
<div className="mx_RoomHeader_button" onClick={this.onCollapseRhsClick} title=">">
<div className="mx_RoomHeader_button" onClick={this.onShowRhsClick} title=">">
<TintableSvg src="img/minimise.svg" width="10" height="16"/>
</div>
}