From 443a1647a4e79d969ee679c098afb51ff870f835 Mon Sep 17 00:00:00 2001 From: Tianwei Liu Date: Thu, 8 Jun 2017 16:38:46 -0400 Subject: [PATCH] Updated getBlob function to display content if PDF files are opened by Adobe Acrobat. --- dist/jspdf.debug.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/jspdf.debug.js b/dist/jspdf.debug.js index cb23e6ff2..555f74418 100644 --- a/dist/jspdf.debug.js +++ b/dist/jspdf.debug.js @@ -1147,7 +1147,7 @@ var jsPDF = function (global) { }, getBlob = function getBlob() { return new Blob([getArrayBuffer()], { - type: "application/pdf" + type: "data:application/pdf;base64" }); },