mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 07:16:17 -04:00
Change file thumb to normal icon when file closed
This commit is contained in:
parent
b195fc69dd
commit
674f879fb8
1 changed files with 3 additions and 1 deletions
|
@ -318,9 +318,11 @@ class InputWaiter {
|
||||||
if (this.loaderWorker) this.loaderWorker.terminate();
|
if (this.loaderWorker) this.loaderWorker.terminate();
|
||||||
this.fileBuffer = null;
|
this.fileBuffer = null;
|
||||||
document.getElementById("input-file").style.display = "none";
|
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.style.overflow = "auto";
|
||||||
inputText.classList.remove("blur");
|
inputText.classList.remove("blur");
|
||||||
|
fileThumb.src = require("./static/images/file-128x128.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue