mirror of
https://github.com/gchq/CyberChef.git
synced 2025-06-30 18:02:29 -04:00
Show or hide thumbnail when the option is changed.
This commit is contained in:
parent
cf500b7296
commit
4312d39624
2 changed files with 31 additions and 17 deletions
|
@ -231,6 +231,7 @@ class Manager {
|
|||
this.addDynamicListener(".option-item select", "change", this.options.selectChange, this.options);
|
||||
document.getElementById("theme").addEventListener("change", this.options.themeChange.bind(this.options));
|
||||
document.getElementById("logLevel").addEventListener("change", this.options.logLevelChange.bind(this.options));
|
||||
document.getElementById("imagePreview").addEventListener("change", this.input.renderFileThumb.bind(this.input));
|
||||
|
||||
// Misc
|
||||
window.addEventListener("keydown", this.bindings.parseInput.bind(this.bindings));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue