diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2018-04-05 15:51:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-05 15:51:58 +0800 |
commit | 36f85c4f84c928fb24483cfe991350089701f841 (patch) | |
tree | cee165eb5faa7ef1a2946a733d221978c2b341f2 | |
parent | 54b84e2c3d06528bb5efd7d88df7edcf1088f9ae (diff) | |
parent | 4ffa74cbe6b5415b11ace8c4c2f32bce40a2e247 (diff) | |
download | tangerine-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
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | old-ui/app/util.js | 1 | ||||
-rw-r--r-- | ui/app/util.js | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index f427d1e1e..546641db9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Current Master +- Fix Download State Logs button [#3791](https://github.com/MetaMask/metamask-extension/issues/3791) + ## 4.5.3 Wed Apr 04 2018 - Fix bug where checksum address are messing with balance issue [#3843](https://github.com/MetaMask/metamask-extension/issues/3843) diff --git a/old-ui/app/util.js b/old-ui/app/util.js index 3f8b4dcc3..962832ce7 100644 --- a/old-ui/app/util.js +++ b/old-ui/app/util.js @@ -231,6 +231,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) 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) |