diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-07-21 19:29:40 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-07-21 19:29:40 -0400 |
commit | 5886e695e41a500d80b5121d1b6c5beb4e087780 (patch) | |
tree | c18ce9584b564b7cf282490f8f986e7aeab0ad46 /web/react/components | |
parent | b821d23ed71c89b14aa294debcf390057de27b37 (diff) | |
download | chat-5886e695e41a500d80b5121d1b6c5beb4e087780.tar.gz chat-5886e695e41a500d80b5121d1b6c5beb4e087780.tar.bz2 chat-5886e695e41a500d80b5121d1b6c5beb4e087780.zip |
fix click through on the image viewer modal to work with new team domain changes
Diffstat (limited to 'web/react/components')
-rw-r--r-- | web/react/components/view_image.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/view_image.jsx b/web/react/components/view_image.jsx index 4d5d54e7f..ac0ecf299 100644 --- a/web/react/components/view_image.jsx +++ b/web/react/components/view_image.jsx @@ -155,7 +155,7 @@ module.exports = React.createClass({ var imgClass = "hidden"; if (this.state.loaded[id] && this.state.imgId == id) imgClass = ""; - img[info['path']] = <a key={info['path']} className={imgClass} href={this.props.filenames[id]} target="_blank"><img ref="image" src={preview_filename}/></a>; + img[info['path']] = <a key={info['path']} className={imgClass} href={info.path+"."+info.ext} target="_blank"><img ref="image" src={preview_filename}/></a>; } } |