Fixed not being able to open channel notifications settings menu in IE10

Этот коммит содержится в:
Reed Garmsen
2015-07-02 19:04:48 -07:00
родитель b819b492bf
Коммит 4ac07f4347

Просмотреть файл

@@ -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() {