diff options
author | =Corey Hulen <corey@hulen.com> | 2015-08-21 08:54:48 -0700 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-08-21 08:54:48 -0700 |
commit | 0ae7180ac5e0cea1e240a1d29c5822159762b2e3 (patch) | |
tree | 6fb954e8d5609286b861c3e378543f28180d84d5 /web/react/components/removed_from_channel_modal.jsx | |
parent | 60be2a5636e52bd3193978691f9b53d896e4c45c (diff) | |
parent | ddcdcc3e2c85efbfd1d91d69c0f5c0af7c7cb1c7 (diff) | |
download | chat-0ae7180ac5e0cea1e240a1d29c5822159762b2e3.tar.gz chat-0ae7180ac5e0cea1e240a1d29c5822159762b2e3.tar.bz2 chat-0ae7180ac5e0cea1e240a1d29c5822159762b2e3.zip |
Merging
Diffstat (limited to 'web/react/components/removed_from_channel_modal.jsx')
-rw-r--r-- | web/react/components/removed_from_channel_modal.jsx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/web/react/components/removed_from_channel_modal.jsx b/web/react/components/removed_from_channel_modal.jsx index a8889a92a..4a49e1c98 100644 --- a/web/react/components/removed_from_channel_modal.jsx +++ b/web/react/components/removed_from_channel_modal.jsx @@ -20,7 +20,7 @@ module.exports = React.createClass({ var townSquare = ChannelStore.getByName("town-square"); utils.switchChannel(townSquare); - this.setState({channelName: "", remover: ""}) + this.setState({channelName: "", remover: ""}); }, componentDidMount: function() { $(this.getDOMNode()).on('show.bs.modal',this.handleShow); @@ -40,18 +40,18 @@ module.exports = React.createClass({ if (currentUser != null) { return ( - <div className="modal fade" ref="modal" id="removed_from_channel" tabIndex="-1" role="dialog" aria-hidden="true"> - <div className="modal-dialog"> - <div className="modal-content"> - <div className="modal-header"> - <button type="button" className="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> - <h4 className="modal-title">Removed from {channelName}</h4> + <div className='modal fade' ref='modal' id='removed_from_channel' tabIndex='-1' role='dialog' aria-hidden='true'> + <div className='modal-dialog'> + <div className='modal-content'> + <div className='modal-header'> + <button type='button' className='close' data-dismiss='modal' aria-label='Close'><span aria-hidden='true'>×</span></button> + <h4 className='modal-title'>Removed from <span className='name'>{channelName}</span></h4> </div> - <div className="modal-body"> + <div className='modal-body'> <p>{remover} removed you from {channelName}</p> </div> - <div className="modal-footer"> - <button type="button" className="btn btn-primary" data-dismiss="modal">Okay</button> + <div className='modal-footer'> + <button type='button' className='btn btn-primary' data-dismiss='modal'>Okay</button> </div> </div> </div> |