Merge pull request #68 from qlik-oss/excelType

Specifying excel type of excel download
This commit is contained in:
Albert Backenhof
2019-05-27 14:28:26 +02:00
committed by GitHub

View File

@@ -83,7 +83,7 @@ function buildTableHTML (id, title, subtitle, footnote) {
function downloadXLS (html) {
const filename = 'analysis.xls';
const blobObject = new Blob([html]);
const blobObject = new Blob([html], { type: 'application/vnd.ms-excel' });
// IE/Edge
if (window.navigator.msSaveOrOpenBlob) {