mirror of
https://github.com/gchq/CyberChef
synced 2025-12-24 04:04:25 +00:00
Replaced hexToByteArray with fromHex and byteArrayToHex with toHex. Switched displayFilesAsHTML operation to use template strings and introduced markup formatting method.
This commit is contained in:
@@ -172,6 +172,7 @@ OutputWaiter.prototype.undoSwitchClick = function() {
|
||||
* Moves a files data for items created via Utils.displayFilesAsHTML to the input.
|
||||
*/
|
||||
OutputWaiter.prototype.fileSwitch = function(e) {
|
||||
e.preventDefault();
|
||||
this.switchOrigData = this.manager.input.get();
|
||||
this.app.setInput(e.target.getAttribute("fileValue"));
|
||||
document.getElementById("undo-switch").disabled = false;
|
||||
|
||||
Reference in New Issue
Block a user