summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-11-30 08:26:19 -0500
committerChristopher Speller <crspeller@gmail.com>2015-11-30 08:26:19 -0500
commit9e464f3d1304b4d10f8d76903006ff02e7937af3 (patch)
treee6105c43bdb1120cdf3e69c5bdc68989f75f490b /web/react/components
parentc328be631b5d83da9d65c2c5a49b42cfa9007bbf (diff)
parenteecba7880f0bc7fa5fe9da2c141ceaec65e4f9ff (diff)
downloadchat-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.jsx1
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>