diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-07-23 15:02:52 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-07-23 15:02:52 -0400 |
commit | d9175d7525c343d5759d303e0874f69103540fd1 (patch) | |
tree | 4fb5fb9f2e5b074694c83c97768f346bfc6c8f7a | |
parent | 772e644343dbf255bffee6bd1ba60297fb5388b3 (diff) | |
parent | 6f3bcfa250518a50afefdba9fa6eb76b3e5b6aca (diff) | |
download | chat-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
-rw-r--r-- | web/react/components/post_right.jsx | 2 |
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> |