diff options
author | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-06-15 11:22:53 -0700 |
---|---|---|
committer | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-06-15 11:22:53 -0700 |
commit | 6883f691ef3b33ceee6bc525830675245aaf508a (patch) | |
tree | 4693838432e0c544944b137ab246fbcc4583d848 /web/react/components/view_image.jsx | |
parent | c94883e0dfc0c7cbcf86a78f9134d1e3283a07cd (diff) | |
parent | 08e02c3dad4d2fa765b11ae58313b3f3e375e447 (diff) | |
download | chat-6883f691ef3b33ceee6bc525830675245aaf508a.tar.gz chat-6883f691ef3b33ceee6bc525830675245aaf508a.tar.bz2 chat-6883f691ef3b33ceee6bc525830675245aaf508a.zip |
Merge pull request #1 from mattermost/master
to me
Diffstat (limited to 'web/react/components/view_image.jsx')
-rw-r--r-- | web/react/components/view_image.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/view_image.jsx b/web/react/components/view_image.jsx index 7d0f0d8a9..4cb30e1d3 100644 --- a/web/react/components/view_image.jsx +++ b/web/react/components/view_image.jsx @@ -165,7 +165,7 @@ module.exports = React.createClass({ <span className="text"> | </span> </div> : "" } - <a href={this.props.filenames[id]} download={name} className="text">Download</a> + <a href={this.props.filenames[id]} download={decodeURIComponent(name)} className="text">Download</a> </div> </div> {loading} |