Change double-quotes to single-quotes

feature/default_network_editable
Thomas 7 years ago
parent 467629217f
commit 4ffa74cbe6
  1. 2
      old-ui/app/util.js
  2. 2
      ui/app/util.js

@ -231,7 +231,7 @@ function exportAsFile (filename, data) {
window.navigator.msSaveBlob(blob, filename) window.navigator.msSaveBlob(blob, filename)
} else { } else {
const elem = window.document.createElement('a') const elem = window.document.createElement('a')
elem.target = "_blank" elem.target = '_blank'
elem.href = window.URL.createObjectURL(blob) elem.href = window.URL.createObjectURL(blob)
elem.download = filename elem.download = filename
document.body.appendChild(elem) document.body.appendChild(elem)

@ -271,7 +271,7 @@ function exportAsFile (filename, data) {
window.navigator.msSaveBlob(blob, filename) window.navigator.msSaveBlob(blob, filename)
} else { } else {
const elem = window.document.createElement('a') const elem = window.document.createElement('a')
elem.target = "_blank" elem.target = '_blank'
elem.href = window.URL.createObjectURL(blob) elem.href = window.URL.createObjectURL(blob)
elem.download = filename elem.download = filename
document.body.appendChild(elem) document.body.appendChild(elem)

Loading…
Cancel
Save