diff options
author | Asaad Mahmood <Unknowngi@live.com> | 2015-08-20 23:39:20 +0500 |
---|---|---|
committer | Asaad Mahmood <Unknowngi@live.com> | 2015-08-20 23:39:20 +0500 |
commit | 2c97e4a5d301eb7b9ed822654ec7cc27c548856d (patch) | |
tree | 533967a6ef6645e38577ed915b95039d6032859c /web/react | |
parent | 1bd859c6ae25d0964debf9aeda6ea29250716985 (diff) | |
download | chat-2c97e4a5d301eb7b9ed822654ec7cc27c548856d.tar.gz chat-2c97e4a5d301eb7b9ed822654ec7cc27c548856d.tar.bz2 chat-2c97e4a5d301eb7b9ed822654ec7cc27c548856d.zip |
Removing getDOMNode from view_image
Diffstat (limited to 'web/react')
-rw-r--r-- | web/react/components/view_image.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/components/view_image.jsx b/web/react/components/view_image.jsx index 1ac6a3b5b..6077c4ebc 100644 --- a/web/react/components/view_image.jsx +++ b/web/react/components/view_image.jsx @@ -109,7 +109,7 @@ module.exports = React.createClass({ } ); - if (this.refs.previewArrowLeft.getDOMNode) { + if (this.refs.previewArrowLeft) { $(this.refs.previewArrowLeft.getDOMNode()).hover( function onModalHover() { $(self.refs.imageFooter.getDOMNode()).addClass('footer--show'); @@ -119,7 +119,7 @@ module.exports = React.createClass({ ); } - if (this.refs.previewArrowRight.getDOMNode) { + if (this.refs.previewArrowRight) { $(this.refs.previewArrowRight.getDOMNode()).hover( function onModalHover() { $(self.refs.imageFooter.getDOMNode()).addClass('footer--show'); |