summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-07-06 07:47:11 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-07-06 07:47:11 -0700
commite9bec9600d4740aa72113fb4641c05d65d06fc26 (patch)
treefb8acbb4745aea7b65b869893a17295473d4d187 /web/react/components
parent4ac07f434727aed93be35c19ad717134d89fd158 (diff)
downloadchat-e9bec9600d4740aa72113fb4641c05d65d06fc26.tar.gz
chat-e9bec9600d4740aa72113fb4641c05d65d06fc26.tar.bz2
chat-e9bec9600d4740aa72113fb4641c05d65d06fc26.zip
Fixed copy-paste error in code
Diffstat (limited to 'web/react/components')
-rw-r--r--web/react/components/channel_notifications.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/channel_notifications.jsx b/web/react/components/channel_notifications.jsx
index 836f94b94..38bc91682 100644
--- a/web/react/components/channel_notifications.jsx
+++ b/web/react/components/channel_notifications.jsx
@@ -21,7 +21,7 @@ module.exports = React.createClass({
var notifyLevel = ChannelStore.getMember(channel_id).notify_level;
var quietMode = false;
if (notifyLevel === "quiet") quietMode = true;
- self.setState({ notify_level: notifyLevel, quiet_mode: quietMode, title: button.getAttribute('data-channelid'), channel_id: channel_id });
+ self.setState({ notify_level: notifyLevel, quiet_mode: quietMode, title: button.getAttribute('data-title'), channel_id: channel_id });
});
},
componentWillUnmount: function() {