Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
zumatt committed Oct 16, 2023
1 parent 3b9b36f commit 2da6e52
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion assets/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ elText.addEventListener('input', updateQRCode);
var svg = document.getElementById("svgQr");

downloadLink.addEventListener("click", function() {
console.log(svg);
var svgData = new XMLSerializer().serializeToString(svg);
var blob = new Blob([svgData], { type: "image/svg+xml" });
var url = URL.createObjectURL(blob);
Expand Down

0 comments on commit 2da6e52

Please sign in to comment.