diff options
Add target=_blank exportAsFile
Diffstat (limited to 'ui/app/util.js')
-rw-r--r-- | ui/app/util.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/app/util.js b/ui/app/util.js index 800ccb218..0888bff0a 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) |