summaryrefslogtreecommitdiffstats
path: root/web/react/components/new_channel.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/new_channel.jsx')
-rw-r--r--web/react/components/new_channel.jsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/web/react/components/new_channel.jsx b/web/react/components/new_channel.jsx
index 973643de7..b00376758 100644
--- a/web/react/components/new_channel.jsx
+++ b/web/react/components/new_channel.jsx
@@ -60,8 +60,7 @@ module.exports = React.createClass({
$(this.refs.modal.getDOMNode()).modal('hide');
asyncClient.getChannel(data.id);
- utils.updateTabTitle(channel.display_name);
- utils.updateAddressBar(channel.name);
+ utils.switchChannel(data);
this.refs.display_name.getDOMNode().value = '';
this.refs.channel_name.getDOMNode().value = '';