Fix indent.

This commit is contained in:
Joachim Bauch 2021-11-11 13:39:05 +01:00
parent 32e91f42e0
commit 85f22bf0dd
No known key found for this signature in database
GPG key ID: 77C1D22D53E15F02

View file

@ -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