mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-08 15:25:01 -04:00
code cleaning
This commit is contained in:
parent
eaf61a07df
commit
51b6f915ff
1 changed files with 2 additions and 2 deletions
|
@ -547,11 +547,11 @@ class OutputWaiter {
|
||||||
}
|
}
|
||||||
const fileName = window.prompt("Please enter a filename: ", "download.pdf");
|
const fileName = window.prompt("Please enter a filename: ", "download.pdf");
|
||||||
|
|
||||||
//Assume if the user clicks cancel they don't want to download
|
// Assume if the user clicks cancel they don't want to download
|
||||||
if (fileName === null) return;
|
if (fileName === null) return;
|
||||||
|
|
||||||
const data = await dish.get(Dish.HTML);
|
const data = await dish.get(Dish.HTML);
|
||||||
//console.log(data, "this is our html")
|
// console.log(data, "this is our html")
|
||||||
const doc = new jsPDF("p", "px", "a4");
|
const doc = new jsPDF("p", "px", "a4");
|
||||||
|
|
||||||
const width = doc.internal.pageSize.getWidth();
|
const width = doc.internal.pageSize.getWidth();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue