diff --git a/src/pdfdraw.js b/src/pdfdraw.js index a0376ad..4dc2fea 100644 --- a/src/pdfdraw.js +++ b/src/pdfdraw.js @@ -1271,8 +1271,8 @@ Annotator.prototype.downloadPdf = function() { var type = xhr.getResponseHeader('Content-Type'); var blob = typeof File === 'function' - ? new File([this.response], filename, { type: type }) - : new Blob([this.response], { type: type }); + ? new File([this.response], filename, { type: type }) + : new Blob([this.response], { type: type }); if (typeof window.navigator.msSaveBlob !== 'undefined') { // IE workaround for "HTML7007: One or more blob URLs were revoked by // closing the blob for which they were created. These URLs will no