Remove logging
This commit is contained in:
parent
6eaa219587
commit
941db8e1aa
|
@ -398,7 +398,6 @@
|
|||
const generateDownloadUrls = () => {
|
||||
saveSVGButton.classList.add("disabled")
|
||||
savePNGButton.classList.add("disabled")
|
||||
console.log("starting url generation")
|
||||
const svgElem = preview.firstChild
|
||||
const svg = (new XMLSerializer()).serializeToString(svgElem)
|
||||
const svgBlob = new Blob([svg], { type: "image/svg+xml" })
|
||||
|
@ -417,7 +416,6 @@
|
|||
const pngUrl = window.URL.createObjectURL(pngBlob)
|
||||
savePNGButton.setAttribute("href", pngUrl)
|
||||
savePNGButton.classList.remove("disabled")
|
||||
console.log("done url generation")
|
||||
}, "image/png")
|
||||
}
|
||||
img.src = svgUrl
|
||||
|
|
Loading…
Reference in New Issue