summaryrefslogtreecommitdiffstats
path: root/web/react
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-07-21 19:29:40 -0400
committerJoramWilander <jwawilander@gmail.com>2015-07-21 19:29:40 -0400
commit5886e695e41a500d80b5121d1b6c5beb4e087780 (patch)
treec18ce9584b564b7cf282490f8f986e7aeab0ad46 /web/react
parentb821d23ed71c89b14aa294debcf390057de27b37 (diff)
downloadchat-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')
-rw-r--r--web/react/components/view_image.jsx2
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>;
}
}