diff --git a/public/resume-5.html b/public/resume-5.html index 3eb9494..3ca6bc2 100644 --- a/public/resume-5.html +++ b/public/resume-5.html @@ -1053,7 +1053,7 @@ image: { type: 'jpeg', quality: 0.95 }, html2canvas: { scale: 2, useCORS: true, backgroundColor: '#fff' }, jsPDF: { unit: 'mm', format: 'a4', orientation: 'portrait' } - }); + }).save(); }) .then(function (result) { console.log('[PDF] step 5: generation COMPLETE, result:', result); diff --git a/src/pages/resume-5.html b/src/pages/resume-5.html index 2f7be4f..7c4fea1 100644 --- a/src/pages/resume-5.html +++ b/src/pages/resume-5.html @@ -922,7 +922,7 @@ image: { type: 'jpeg', quality: 0.95 }, html2canvas: { scale: 2, useCORS: true, backgroundColor: '#fff' }, jsPDF: { unit: 'mm', format: 'a4', orientation: 'portrait' } - }); + }).save(); }) .then(function (result) { console.log('[PDF] step 5: generation COMPLETE, result:', result);