Fixing results download in Firefox. Fixes #153

This commit is contained in:
Jordan Wright 2016-02-15 12:18:21 -06:00
parent 1fe1af2ce9
commit 913f444598

View file

@ -111,7 +111,9 @@ function exportAsCSV(scope) {
var dlLink = document.createElement('a');
dlLink.href = csvURL;
dlLink.setAttribute('download', scope + '.csv');
document.body.appendChild(dlLink)
dlLink.click();
document.body.removeChild(dlLink)
}
$("#exportButton").html(exportHTML)
}