summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-03-07 15:34:14 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2016-03-07 15:34:14 -0500
commita94879a7d52e749a01c876dae8d6f2cd757730cb (patch)
tree522e4af2cef2e184d95029f8e50d24cfc17d1bb2 /web
parentb8b38c0c7269210451dc5fee81ef28ed4e8ae183 (diff)
downloadchat-a94879a7d52e749a01c876dae8d6f2cd757730cb.tar.gz
chat-a94879a7d52e749a01c876dae8d6f2cd757730cb.tar.bz2
chat-a94879a7d52e749a01c876dae8d6f2cd757730cb.zip
Fixed file attachment download link to properly trigger a download on IE11/Edge/Safari
Diffstat (limited to 'web')
-rw-r--r--web/react/components/file_attachment.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/file_attachment.jsx b/web/react/components/file_attachment.jsx
index 810f90b13..589cec499 100644
--- a/web/react/components/file_attachment.jsx
+++ b/web/react/components/file_attachment.jsx
@@ -164,7 +164,7 @@ class FileAttachment extends React.Component {
var filename = this.props.filename;
var fileInfo = utils.splitFileLocation(filename);
- var fileUrl = utils.getFileUrl(filename);
+ var fileUrl = utils.getFileUrl(filename, true);
var type = utils.getFileType(fileInfo.ext);
var playbackControls = '';