diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-11-30 08:26:19 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-11-30 08:26:19 -0500 |
commit | 9e464f3d1304b4d10f8d76903006ff02e7937af3 (patch) | |
tree | e6105c43bdb1120cdf3e69c5bdc68989f75f490b /web/react/components | |
parent | c328be631b5d83da9d65c2c5a49b42cfa9007bbf (diff) | |
parent | eecba7880f0bc7fa5fe9da2c141ceaec65e4f9ff (diff) | |
download | chat-9e464f3d1304b4d10f8d76903006ff02e7937af3.tar.gz chat-9e464f3d1304b4d10f8d76903006ff02e7937af3.tar.bz2 chat-9e464f3d1304b4d10f8d76903006ff02e7937af3.zip |
Merge pull request #1539 from florianorben/PLT-1170
PLT-1170: Support enter key in DeletePostModal
Diffstat (limited to 'web/react/components')
-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> |