fix: remove temporary link element after csv download

This commit is contained in:
Patrick Wespi 2021-12-29 19:51:29 +01:00 committed by Erik Ziegler
parent 2f115e6ab0
commit c2bbfc2cac

View File

@ -161,4 +161,5 @@ function _createAndDownloadFile(csvContent) {
link.setAttribute('download', 'MeasurementReport.csv');
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
}