Skip to content

Commit

Permalink
Save resume pdf instead of opening in a tab
Browse files Browse the repository at this point in the history
  • Loading branch information
addisonbeck committed Sep 15, 2023
1 parent 66080aa commit 13822bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/components/ResumePdf.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
n.classList.toggle("hidden")
pdf.html(n, {
callback: function () {
window.open(pdf.output('bloburl'));
pdf.save("Resume")
// window.open(pdf.output('bloburl'));
n.classList.toggle("hidden")
},
html2canvas: {
Expand Down

0 comments on commit 13822bd

Please sign in to comment.