Merge pull request #3882 from MetaMask/i#3791

Fixes download file buttons
feature/default_network_editable
Kevin Serrano 7 years ago committed by GitHub
commit 36f85c4f84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      CHANGELOG.md
  2. 1
      old-ui/app/util.js
  3. 1
      ui/app/util.js

@ -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)

@ -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)

@ -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)

Loading…
Cancel
Save