Change file thumb to normal icon when file closed
This commit is contained in:
parent
b195fc69dd
commit
674f879fb8
@ -318,9 +318,11 @@ class InputWaiter {
|
||||
if (this.loaderWorker) this.loaderWorker.terminate();
|
||||
this.fileBuffer = null;
|
||||
document.getElementById("input-file").style.display = "none";
|
||||
const inputText = document.getElementById("input-text");
|
||||
const inputText = document.getElementById("input-text"),
|
||||
fileThumb = document.getElementById("input-file-thumbnail");
|
||||
inputText.style.overflow = "auto";
|
||||
inputText.classList.remove("blur");
|
||||
fileThumb.src = require("./static/images/file-128x128.png");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user