Fix some dead links

This commit fixes the download link in the activity feed on the
sidebar and the mention link on card description and comments
(replaced by a popup).

`eslint .` now passes without any error or warning.

Fixes #286
This commit is contained in:
Maxime Quandalle 2015-09-06 23:42:52 +02:00
parent 76004e407c
commit dd95ecba98
4 changed files with 54 additions and 42 deletions

View file

@ -69,8 +69,8 @@ BlazeComponent.extendComponent({
attachmentLink() {
const attachment = this.currentData().attachment();
return attachment && Blaze.toHTML(HTML.A({
href: attachment.url(),
'class': 'js-open-attachment-viewer',
href: attachment.url({ download: true }),
target: '_blank',
}, attachment.name()));
},