summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-07-06 12:07:56 -0400
committerChristopher Speller <crspeller@gmail.com>2015-07-06 12:07:56 -0400
commit10b625ba1740c6177cfe5c06484f4a14867523bd (patch)
treefb8acbb4745aea7b65b869893a17295473d4d187
parentb819b492bf3c5d1f2353b086dbf7b70fd6a98869 (diff)
parente9bec9600d4740aa72113fb4641c05d65d06fc26 (diff)
downloadchat-10b625ba1740c6177cfe5c06484f4a14867523bd.tar.gz
chat-10b625ba1740c6177cfe5c06484f4a14867523bd.tar.bz2
chat-10b625ba1740c6177cfe5c06484f4a14867523bd.zip
Merge pull request #128 from rgarmsen2295/mm-832
MM-832 Fixed not being able to open channel notifications settings menu in IE10
-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..38bc91682 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-title'), channel_id: channel_id });
});
},
componentWillUnmount: function() {