|
|
@@ -81,9 +81,9 @@ this.SingleFile = this.SingleFile || (() => {
|
|
|
let contentType = resourceContent.headers && resourceContent.headers.get("content-type");
|
|
|
if (contentType) {
|
|
|
contentType = contentType.match(/^([^;]*)/)[0];
|
|
|
- }
|
|
|
- if (contentType.indexOf("/") <= 0) {
|
|
|
- contentType = null;
|
|
|
+ if (contentType.indexOf("/") <= 0) {
|
|
|
+ contentType = null;
|
|
|
+ }
|
|
|
}
|
|
|
if (options && options.asDataURI) {
|
|
|
try {
|