Fix JSHint issues
This commit is contained in:
2
dist/swagger-ui.js
vendored
2
dist/swagger-ui.js
vendored
@@ -21362,7 +21362,7 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Location header based redirect download
|
// Location header based redirect download
|
||||||
} else if(headers['location'] || headers['Location']) {
|
} else if(headers.location || headers.Location) {
|
||||||
window.location = response.url;
|
window.location = response.url;
|
||||||
|
|
||||||
// Anything else (CORS)
|
// Anything else (CORS)
|
||||||
|
|||||||
@@ -626,7 +626,7 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Location header based redirect download
|
// Location header based redirect download
|
||||||
} else if(headers['location'] || headers['Location']) {
|
} else if(headers.location || headers.Location) {
|
||||||
window.location = response.url;
|
window.location = response.url;
|
||||||
|
|
||||||
// Anything else (CORS)
|
// Anything else (CORS)
|
||||||
|
|||||||
Reference in New Issue
Block a user