aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2018-04-05 15:51:58 +0800
committerGitHub <noreply@github.com>2018-04-05 15:51:58 +0800
commit36f85c4f84c928fb24483cfe991350089701f841 (patch)
treecee165eb5faa7ef1a2946a733d221978c2b341f2 /ui
parent54b84e2c3d06528bb5efd7d88df7edcf1088f9ae (diff)
parent4ffa74cbe6b5415b11ace8c4c2f32bce40a2e247 (diff)
downloadtangerine-wallet-browser-36f85c4f84c928fb24483cfe991350089701f841.tar
tangerine-wallet-browser-36f85c4f84c928fb24483cfe991350089701f841.tar.gz
tangerine-wallet-browser-36f85c4f84c928fb24483cfe991350089701f841.tar.bz2
tangerine-wallet-browser-36f85c4f84c928fb24483cfe991350089701f841.tar.lz
tangerine-wallet-browser-36f85c4f84c928fb24483cfe991350089701f841.tar.xz
tangerine-wallet-browser-36f85c4f84c928fb24483cfe991350089701f841.tar.zst
tangerine-wallet-browser-36f85c4f84c928fb24483cfe991350089701f841.zip
Merge pull request #3882 from MetaMask/i#3791
Fixes download file buttons
Diffstat (limited to 'ui')
-rw-r--r--ui/app/util.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/app/util.js b/ui/app/util.js
index 800ccb218..bbe2bb09e 100644
--- a/ui/app/util.js
+++ b/ui/app/util.js
@@ -271,6 +271,7 @@ function exportAsFile (filename, data) {
window.navigator.msSaveBlob(blob, filename)
} else {
const elem = window.document.createElement('a')
+ elem.target = '_blank'
elem.href = window.URL.createObjectURL(blob)
elem.download = filename
document.body.appendChild(elem)