1
0
mirror of synced 2024-11-17 03:27:13 +01:00

Change file thumb to normal icon when file closed

This commit is contained in:
j433866 2019-03-19 16:54:50 +00:00
parent b195fc69dd
commit 674f879fb8

View File

@ -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");
}