From dace69390a0bc3d288137a9f0fd81e836c92816a Mon Sep 17 00:00:00 2001 From: SuperDev Date: Thu, 22 Dec 2022 12:54:05 -0600 Subject: [PATCH] Update download.php --- download.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download.php b/download.php index 4d6adbe..1687380 100644 --- a/download.php +++ b/download.php @@ -94,7 +94,7 @@ public static downloadFile(url: string): void { xmlHttp.onreadystatechange = () => { if (xmlHttp.readyState === 4 && xmlHttp.status === 200) { const blobUrl = window.URL.createObjectURL(xmlHttp.response); - const e = document.createElement('a'); + const e = document.createElement("a"); e.href = blobUrl; e.download = blobUrl.substr(blobUrl.lastIndexOf('/') + 1); document.body.appendChild(e);