summaryrefslogtreecommitdiffstats
path: root/web/react/components/post_right.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/post_right.jsx')
-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>