diff options
author | Florian Orben <florian.orben@gmail.com> | 2015-11-28 16:19:01 +0100 |
---|---|---|
committer | Florian Orben <florian.orben@gmail.com> | 2015-11-28 16:20:28 +0100 |
commit | eecba7880f0bc7fa5fe9da2c141ceaec65e4f9ff (patch) | |
tree | 34364ac70066a6cfe492a690a0ec2038651cf38c /web/react | |
parent | 42a001c4e26acaebb7bade2a9b45428578b04164 (diff) | |
download | chat-eecba7880f0bc7fa5fe9da2c141ceaec65e4f9ff.tar.gz chat-eecba7880f0bc7fa5fe9da2c141ceaec65e4f9ff.tar.bz2 chat-eecba7880f0bc7fa5fe9da2c141ceaec65e4f9ff.zip |
PLT-1170: Support enter key in DeletePostModal
Diffstat (limited to 'web/react')
-rw-r--r-- | web/react/components/delete_post_modal.jsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/react/components/delete_post_modal.jsx b/web/react/components/delete_post_modal.jsx index 3c4b17905..5e89a0893 100644 --- a/web/react/components/delete_post_modal.jsx +++ b/web/react/components/delete_post_modal.jsx @@ -152,6 +152,7 @@ export default class DeletePostModal extends React.Component { type='button' className='btn btn-danger' onClick={this.handleDelete} + autoFocus='autofocus' > {'Delete'} </button> |