mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-05-13 17:55:56 +00:00
Use reset on fileinput after adding files as they do not require tracking
This commit is contained in:
parent
c87b3c8c5d
commit
7c79ca9f28
@ -187,7 +187,7 @@
|
||||
pdfUpload.addEventListener("change", async (e) => {
|
||||
if (!e.target.files) return;
|
||||
await pdfContainer.handleDroppedFiles( e.target.files);
|
||||
e.target.value = null;
|
||||
e.target.dispatchEvent(new CustomEvent('reset', {}));
|
||||
});
|
||||
|
||||
var undoManager = new UndoManager();
|
||||
|
Loading…
x
Reference in New Issue
Block a user