summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-07-02 19:04:48 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-07-06 07:39:22 -0700
commit4ac07f434727aed93be35c19ad717134d89fd158 (patch)
treefae4deeed043cd387ff0e0f8095aa495f2a2d2bc /web/react/components
parentb819b492bf3c5d1f2353b086dbf7b70fd6a98869 (diff)
downloadchat-4ac07f434727aed93be35c19ad717134d89fd158.tar.gz
chat-4ac07f434727aed93be35c19ad717134d89fd158.tar.bz2
chat-4ac07f434727aed93be35c19ad717134d89fd158.zip
Fixed not being able to open channel notifications settings menu in IE10
Diffstat (limited to 'web/react/components')
-rw-r--r--web/react/components/channel_notifications.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/components/channel_notifications.jsx b/web/react/components/channel_notifications.jsx
index 638d16576..836f94b94 100644
--- a/web/react/components/channel_notifications.jsx
+++ b/web/react/components/channel_notifications.jsx
@@ -16,12 +16,12 @@ module.exports = React.createClass({
var self = this;
$(this.refs.modal.getDOMNode()).on('show.bs.modal', function(e) {
var button = e.relatedTarget;
- var channel_id = button.dataset.channelid;
+ var channel_id = button.getAttribute('data-channelid');
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.dataset.title, channel_id: channel_id });
+ self.setState({ notify_level: notifyLevel, quiet_mode: quietMode, title: button.getAttribute('data-channelid'), channel_id: channel_id });
});
},
componentWillUnmount: function() {