Skip to content

Commit 451032d

Browse files
authored
Return to initial state after upload
1 parent eaeb6c2 commit 451032d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/widget.js

+3
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ function showFile() {
4949
document.body.appendChild(a);
5050
a.click();
5151
a.remove();
52+
dropArea.classList.remove("active");
53+
dragText.textContent = "+ Drag & Drop";
54+
blstFile = undefined;
5255
});
5356
let successHtml = `
5457
<div style="display:Flex;justify-content:center;">

0 commit comments

Comments
 (0)