mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 07:16:17 -04:00
Add file count to displayFilesAsHTML
This commit is contained in:
parent
c67957da81
commit
6b8ab2bf16
1 changed files with 3 additions and 1 deletions
|
@ -978,7 +978,9 @@ var Utils = {
|
|||
};
|
||||
|
||||
var Utils = this;
|
||||
var html = "";
|
||||
var html = "<div style='padding: 5px;'>" +
|
||||
files.length +
|
||||
" file(s) found</div>\n";
|
||||
files.forEach(function(file, i) {
|
||||
if (typeof file.contents !== "undefined") {
|
||||
html += formatFile(file, i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue