From 507eda092ebb96550dc8e46cfcf570da37ce1d56 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Tue, 8 Mar 2016 14:40:47 -0500 Subject: Added target='_blank' to all attachment download links --- web/react/components/file_attachment.jsx | 2 ++ web/react/components/view_image_popover_bar.jsx | 1 + 2 files changed, 3 insertions(+) (limited to 'web') diff --git a/web/react/components/file_attachment.jsx b/web/react/components/file_attachment.jsx index c719c6c7d..2f6067b86 100644 --- a/web/react/components/file_attachment.jsx +++ b/web/react/components/file_attachment.jsx @@ -185,6 +185,7 @@ class FileAttachment extends React.Component { data-toggle='tooltip' title={this.props.intl.formatMessage(holders.download) + ' \"' + filenameString + '\"'} className='post-image__name' + target='_blank' > {trimmedFilename} @@ -193,6 +194,7 @@ class FileAttachment extends React.Component { href={fileUrl} download={filenameString} className='post-image__download' + target='_blank' >