Skip to content

Commit 4365d34

Browse files
committed
rebuilt
1 parent 97ed093 commit 4365d34

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

dist/swagger-ui.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21583,10 +21583,10 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
2158321583
pre = $('<audio controls>').append($('<source>').attr('src', url).attr('type', contentType));
2158421584

2158521585
// Download
21586-
} else if ((headers['Content-Disposition'] && headers['Content-Disposition'].test(/attachment/)) ||
21587-
(headers['content-disposition'] && headers['content-disposition'].test(/attachment/)) ||
21588-
(headers['Content-Description'] && headers['Content-Description'].test(/File Transfer/)) ||
21589-
(headers['content-description'] && headers['content-description'].test(/File Transfer/))) {
21586+
} else if (headers['Content-Disposition'] && (/attachment/).test(headers['Content-Disposition']) ||
21587+
headers['content-disposition'] && (/attachment/).test(headers['content-disposition']) ||
21588+
headers['Content-Description'] && (/File Transfer/).test(headers['Content-Description']) ||
21589+
headers['content-description'] && (/File Transfer/).test(headers['content-description'])) {
2159021590

2159121591
if ('Blob' in window) {
2159221592
var type = contentType || 'text/html';

0 commit comments

Comments
 (0)