diff options
author | Corey Hulen <corey@hulen.com> | 2015-09-03 13:37:25 -0700 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-09-03 13:37:25 -0700 |
commit | 4f0c06114b61c92d982baac1c54ed80da93a9cc9 (patch) | |
tree | fa949f1269931b4d62bddda23e26a5dcdff9ac14 /web/react/components/view_image.jsx | |
parent | b3fea25eddc332e9529692733093291b10d4aeef (diff) | |
parent | 570327463ca06c23b5b54b9ec93152535836f2c0 (diff) | |
download | chat-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/view_image.jsx')
-rw-r--r-- | web/react/components/view_image.jsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/web/react/components/view_image.jsx b/web/react/components/view_image.jsx index ed88c3df4..b0eaba5d6 100644 --- a/web/react/components/view_image.jsx +++ b/web/react/components/view_image.jsx @@ -307,7 +307,8 @@ export default class ViewImageModal extends React.Component { ref='previewArrowLeft' className='modal-prev-bar' href='#' - onClick={this.handlePrev}> + onClick={this.handlePrev} + > <i className='image-control image-prev'/> </a> ); @@ -317,7 +318,8 @@ export default class ViewImageModal extends React.Component { ref='previewArrowRight' className='modal-next-bar' href='#' - onClick={this.handleNext}> + onClick={this.handleNext} + > <i className='image-control image-next'/> </a> ); @@ -351,7 +353,7 @@ export default class ViewImageModal extends React.Component { ref='imageFooter' className='modal-button-bar' > - <span className='pull-left text'>{'File ' + (this.state.imgId + 1) + ' of ' + this.props.filenames.length}</span> + <span className='pull-left text'>{'File ' + (this.state.imgId + 1) + ' of ' + this.props.filenames.length}</span> <div className='image-links'> {publicLink} <a |