summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2015-09-02 16:28:20 -0400
committerJoram Wilander <jwawilander@gmail.com>2015-09-02 16:28:20 -0400
commit73b24d35c079aec79c1f5cbed70bf58552d82b26 (patch)
treedafb04fda87f3eb7b2cb461028dbe7ea4f9fe1b0 /web/react/components
parent9a1d3986c5ab79b03fcf55616b6dbc0b01e7c46e (diff)
parentfec8fd46c862870ac3bb1d6ce5300a028829e70a (diff)
downloadchat-73b24d35c079aec79c1f5cbed70bf58552d82b26.tar.gz
chat-73b24d35c079aec79c1f5cbed70bf58552d82b26.tar.bz2
chat-73b24d35c079aec79c1f5cbed70bf58552d82b26.zip
Merge pull request #563 from mattermost/minor-fix
Fix missed binds.
Diffstat (limited to 'web/react/components')
-rw-r--r--web/react/components/sidebar.jsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/react/components/sidebar.jsx b/web/react/components/sidebar.jsx
index ef23f5bc2..983260187 100644
--- a/web/react/components/sidebar.jsx
+++ b/web/react/components/sidebar.jsx
@@ -387,13 +387,13 @@ export default class Sidebar extends React.Component {
this.setState({loadingDMChannel: -1});
AsyncClient.getChannel(data.id);
Utils.switchChannel(data);
- },
+ }.bind(this),
function error() {
this.setState({loadingDMChannel: -1});
window.location.href = TeamStore.getCurrentTeamUrl() + '/channels/' + channel.name;
- }
+ }.bind(this)
);
- };
+ }.bind(this);
}
}