Fixed reference to non-existant local variable that prevented the sidebar from opening message threads containing non-image attachments

This commit is contained in:
hmhealey
2015-07-23 11:20:31 -04:00
parent dc79707787
commit 6f3bcfa250

View File

@@ -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>