diff options
Diffstat (limited to 'web/react')
-rw-r--r-- | web/react/components/more_channels.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/react/components/more_channels.jsx b/web/react/components/more_channels.jsx index 5261ed6a7..56366cde4 100644 --- a/web/react/components/more_channels.jsx +++ b/web/react/components/more_channels.jsx @@ -45,9 +45,10 @@ module.exports = React.createClass({ }, handleJoin: function(id) { client.joinChannel(id, - function() { + function(data) { $(this.refs.modal.getDOMNode()).modal('hide'); asyncClient.getChannel(id); + utils.switchChannel(data); }.bind(this), function(err) { this.state.serverError = err.message; |