code cleaning

This commit is contained in:
Kutaz 2023-01-10 11:09:37 -05:00
parent eaf61a07df
commit 51b6f915ff

View file

@ -547,11 +547,11 @@ class OutputWaiter {
}
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;
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 width = doc.internal.pageSize.getWidth();