Clear file inputs after jobs (#2248)

This commit is contained in:
Rafael Encinas
2024-11-15 13:21:23 -07:00
committed by GitHub
parent fd93dad9a5
commit 1833d7cd73
7 changed files with 66 additions and 2 deletions

View File

@@ -68,7 +68,7 @@
fileInput.addEventListener("change", async function () {
console.log("loading pdf");
document.querySelector("#editSection").style.display = "";
document.querySelector("#editSection").style.display = "block";
const existingPreview = document.getElementById("pdf-preview");
if (existingPreview) {