Merge pull request #243 from hmhealey/mm1678

MM-1678 Fixed sidebar so that it can open threads containing non-image attachments
Этот коммит содержится в:
Christopher Speller
2015-07-23 15:02:52 -04:00
родитель 772e644343 6f3bcfa250
Коммит d9175d7525

Просмотреть файл

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