summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-07-23 11:20:31 -0400
committerhmhealey <harrisonmhealey@gmail.com>2015-07-23 11:21:12 -0400
commit6f3bcfa250518a50afefdba9fa6eb76b3e5b6aca (patch)
tree8e580e434cbb947ff3078d640a612add8cc59da2 /web
parentdc79707787b521ea5fc0d9088ccd9069780c8e0c (diff)
downloadchat-6f3bcfa250518a50afefdba9fa6eb76b3e5b6aca.tar.gz
chat-6f3bcfa250518a50afefdba9fa6eb76b3e5b6aca.tar.bz2
chat-6f3bcfa250518a50afefdba9fa6eb76b3e5b6aca.zip
Fixed reference to non-existant local variable that prevented the sidebar from opening message threads containing non-image attachments
Diffstat (limited to 'web')
-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>