summaryrefslogtreecommitdiffstats
path: root/web/react/components/edit_channel_modal.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-08-04 16:01:22 -0400
committerChristopher Speller <crspeller@gmail.com>2015-08-04 16:01:22 -0400
commitea51edf0c4a2c62ba3f6585dfde93c240c8f0a4b (patch)
tree4d289c19bf97c5918ae951520eae87bf18e8723e /web/react/components/edit_channel_modal.jsx
parent99db02a81a6503e2dd8879a7c419fa36e25dbeb9 (diff)
parentee91b766bee7807ef42fcea76fb82607c89c42e7 (diff)
downloadchat-ea51edf0c4a2c62ba3f6585dfde93c240c8f0a4b.tar.gz
chat-ea51edf0c4a2c62ba3f6585dfde93c240c8f0a4b.tar.bz2
chat-ea51edf0c4a2c62ba3f6585dfde93c240c8f0a4b.zip
Merge pull request #326 from nickago/MM-1754
MM-1754 Modals now close upon pressing ESC
Diffstat (limited to 'web/react/components/edit_channel_modal.jsx')
-rw-r--r--web/react/components/edit_channel_modal.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/edit_channel_modal.jsx b/web/react/components/edit_channel_modal.jsx
index 1b0cc185f..06d7fc3e8 100644
--- a/web/react/components/edit_channel_modal.jsx
+++ b/web/react/components/edit_channel_modal.jsx
@@ -51,7 +51,7 @@ module.exports = React.createClass({
var server_error = this.state.server_error ? <div className='form-group has-error'><br/><label className='control-label'>{ this.state.server_error }</label></div> : null;
return (
- <div className="modal fade" ref="modal" id="edit_channel" role="dialog" aria-hidden="true">
+ <div className="modal fade" ref="modal" id="edit_channel" role="dialog" tabIndex="-1" aria-hidden="true">
<div className="modal-dialog">
<div className="modal-content">
<div className="modal-header">