use setTimeout instead of mootools pass

pull/3099/head
Andrew Bauer 2020-12-20 15:21:38 -06:00
parent 92361210ce
commit 1f3fd93296
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ function exportResponse(respObj, respText) {
$j('#exportProgressTicker').text(respObj.message);
} else {
$j('#exportProgressTicker').text(exportSucceededString);
startDownload.pass(decodeURIComponent(respObj.exportFile)).delay(1500);
setTimeout(startDownload, 1500, decodeURIComponent(respObj.exportFile));
}
return;
@ -95,7 +95,7 @@ function getEventDetailModal(eid) {
function initPage() {
configureExportButton(this);
if ( exportReady ) {
startDownload.pass(exportFile).delay(1500);
setTimeout(startDownload, 1500, exportFile);
}
document.getElementById('exportButton').addEventListener('click', exportEvents);