From 18e0a7e4f98fcad3c49fecf94bcfdc9bb1b50e0f Mon Sep 17 00:00:00 2001 From: Thomas Date: Wed, 4 Apr 2018 16:26:05 -0700 Subject: Add target=_blank exportAsFile --- old-ui/app/util.js | 1 + 1 file changed, 1 insertion(+) (limited to 'old-ui') diff --git a/old-ui/app/util.js b/old-ui/app/util.js index 3f8b4dcc3..30ae308d2 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) -- cgit v1.2.3