mirror of
https://github.com/gchq/CyberChef
synced 2024-11-15 17:07:57 +00:00
Moved file switch listener to correct block
This commit is contained in:
parent
c460c2bf6b
commit
7e310a8de7
1 changed files with 1 additions and 1 deletions
|
@ -145,6 +145,7 @@ Manager.prototype.initialiseEventListeners = function() {
|
|||
document.getElementById("output-html").addEventListener("mousemove", this.highlighter.outputHtmlMousemove.bind(this.highlighter));
|
||||
this.addMultiEventListener("#output-text", "mousedown dblclick select", this.highlighter.outputMousedown, this.highlighter);
|
||||
this.addMultiEventListener("#output-html", "mousedown dblclick select", this.highlighter.outputHtmlMousedown, this.highlighter);
|
||||
this.addDynamicListener(".file-switch", "click", this.output.fileSwitch, this.output);
|
||||
|
||||
// Options
|
||||
document.getElementById("options").addEventListener("click", this.options.optionsClick.bind(this.options));
|
||||
|
@ -158,7 +159,6 @@ Manager.prototype.initialiseEventListeners = function() {
|
|||
|
||||
// Misc
|
||||
document.getElementById("alert-close").addEventListener("click", this.app.alertCloseClick.bind(this.app));
|
||||
this.addDynamicListener(".file-switch", "click", this.output.fileSwitch, this.output);
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue