summaryrefslogtreecommitdiffstats
path: root/web/react/components/edit_post_modal.jsx
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-09-03 13:37:25 -0700
committerCorey Hulen <corey@hulen.com>2015-09-03 13:37:25 -0700
commit4f0c06114b61c92d982baac1c54ed80da93a9cc9 (patch)
treefa949f1269931b4d62bddda23e26a5dcdff9ac14 /web/react/components/edit_post_modal.jsx
parentb3fea25eddc332e9529692733093291b10d4aeef (diff)
parent570327463ca06c23b5b54b9ec93152535836f2c0 (diff)
downloadchat-4f0c06114b61c92d982baac1c54ed80da93a9cc9.tar.gz
chat-4f0c06114b61c92d982baac1c54ed80da93a9cc9.tar.bz2
chat-4f0c06114b61c92d982baac1c54ed80da93a9cc9.zip
Merge pull request #591 from mattermost/mm-1909
MM-1909 Upgrading ESLint, turning on new rules, enabling some warnings, optimizations
Diffstat (limited to 'web/react/components/edit_post_modal.jsx')
-rw-r--r--web/react/components/edit_post_modal.jsx14
1 files changed, 9 insertions, 5 deletions
diff --git a/web/react/components/edit_post_modal.jsx b/web/react/components/edit_post_modal.jsx
index fef60c715..ad7bd30b5 100644
--- a/web/react/components/edit_post_modal.jsx
+++ b/web/react/components/edit_post_modal.jsx
@@ -88,7 +88,8 @@ export default class EditPostModal extends React.Component {
id='edit_post'
role='dialog'
tabIndex='-1'
- aria-hidden='true' >
+ aria-hidden='true'
+ >
<div className='modal-dialog modal-push-down'>
<div className='modal-content'>
<div className='modal-header'>
@@ -97,7 +98,8 @@ export default class EditPostModal extends React.Component {
className='close'
data-dismiss='modal'
aria-label='Close'
- onClick={this.handleEditClose}>
+ onClick={this.handleEditClose}
+ >
<span aria-hidden='true'>&times;</span>
</button>
<h4 className='modal-title'>Edit {this.state.title}</h4>
@@ -110,20 +112,22 @@ export default class EditPostModal extends React.Component {
createMessage='Edit the post...'
id='edit_textbox'
ref='editbox'
- />
+ />
{error}
</div>
<div className='modal-footer'>
<button
type='button'
className='btn btn-default'
- data-dismiss='modal' >
+ data-dismiss='modal'
+ >
Cancel
</button>
<button
type='button'
className='btn btn-primary'
- onClick={this.handleEdit}>
+ onClick={this.handleEdit}
+ >
Save
</button>
</div>