summaryrefslogtreecommitdiffstats
path: root/web/react/components/delete_channel_modal.jsx
diff options
context:
space:
mode:
authornickago <ngonella@calpoly.edu>2015-08-04 12:02:35 -0700
committernickago <ngonella@calpoly.edu>2015-08-04 12:02:35 -0700
commitee91b766bee7807ef42fcea76fb82607c89c42e7 (patch)
tree417b85c36df49eeadd4bf130f42e78260a382602 /web/react/components/delete_channel_modal.jsx
parent2c46ee8420eb19d827d3f2072bd536aae2038f84 (diff)
downloadchat-ee91b766bee7807ef42fcea76fb82607c89c42e7.tar.gz
chat-ee91b766bee7807ef42fcea76fb82607c89c42e7.tar.bz2
chat-ee91b766bee7807ef42fcea76fb82607c89c42e7.zip
Added closing on ESC key press
Diffstat (limited to 'web/react/components/delete_channel_modal.jsx')
-rw-r--r--web/react/components/delete_channel_modal.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/delete_channel_modal.jsx b/web/react/components/delete_channel_modal.jsx
index 64ceec450..589737271 100644
--- a/web/react/components/delete_channel_modal.jsx
+++ b/web/react/components/delete_channel_modal.jsx
@@ -34,7 +34,7 @@ module.exports = React.createClass({
var channelType = ChannelStore.getCurrent() && ChannelStore.getCurrent().type === 'P' ? "private group" : "channel"
return (
- <div className="modal fade" ref="modal" id="delete_channel" role="dialog" aria-hidden="true">
+ <div className="modal fade" ref="modal" id="delete_channel" role="dialog" tabIndex="-1" aria-hidden="true">
<div className="modal-dialog">
<div className="modal-content">
<div className="modal-header">