Fix indent.
This commit is contained in:
parent
32e91f42e0
commit
85f22bf0dd
1 changed files with 2 additions and 2 deletions
|
|
@ -1271,8 +1271,8 @@ Annotator.prototype.downloadPdf = function() {
|
||||||
var type = xhr.getResponseHeader('Content-Type');
|
var type = xhr.getResponseHeader('Content-Type');
|
||||||
|
|
||||||
var blob = typeof File === 'function'
|
var blob = typeof File === 'function'
|
||||||
? new File([this.response], filename, { type: type })
|
? new File([this.response], filename, { type: type })
|
||||||
: new Blob([this.response], { type: type });
|
: new Blob([this.response], { type: type });
|
||||||
if (typeof window.navigator.msSaveBlob !== 'undefined') {
|
if (typeof window.navigator.msSaveBlob !== 'undefined') {
|
||||||
// IE workaround for "HTML7007: One or more blob URLs were revoked by
|
// IE workaround for "HTML7007: One or more blob URLs were revoked by
|
||||||
// closing the blob for which they were created. These URLs will no
|
// closing the blob for which they were created. These URLs will no
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue