summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-07-23 15:02:52 -0400
committerChristopher Speller <crspeller@gmail.com>2015-07-23 15:02:52 -0400
commitd9175d7525c343d5759d303e0874f69103540fd1 (patch)
tree4fb5fb9f2e5b074694c83c97768f346bfc6c8f7a /web/react/components
parent772e644343dbf255bffee6bd1ba60297fb5388b3 (diff)
parent6f3bcfa250518a50afefdba9fa6eb76b3e5b6aca (diff)
downloadchat-d9175d7525c343d5759d303e0874f69103540fd1.tar.gz
chat-d9175d7525c343d5759d303e0874f69103540fd1.tar.bz2
chat-d9175d7525c343d5759d303e0874f69103540fd1.zip
Merge pull request #243 from hmhealey/mm1678
MM-1678 Fixed sidebar so that it can open threads containing non-image attachments
Diffstat (limited to 'web/react/components')
-rw-r--r--web/react/components/post_right.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/post_right.jsx b/web/react/components/post_right.jsx
index 93f5d91b0..567be1962 100644
--- a/web/react/components/post_right.jsx
+++ b/web/react/components/post_right.jsx
@@ -111,7 +111,7 @@ RootPost = React.createClass({
} else {
postFiles.push(
<div className="post-image__column custom-file" key={fileInfo.path}>
- <a href={fileInfo.path+"."+ext} download={fileInfo.name+"."+ext}>
+ <a href={fileInfo.path+"."+fileInfo.ext} download={fileInfo.name+"."+fileInfo.ext}>
<div className={"file-icon "+utils.getIconClassName(ftype)}/>
</a>
</div>