Bug 879161 - Fix pdf.js mimetype check.
This commit is contained in:
parent
81fa4a0d93
commit
7eae88669a
@ -224,7 +224,7 @@ let PdfJs = {
|
||||
}
|
||||
let mimeTypes = tag.getMimeTypes();
|
||||
return mimeTypes.some(function(mimeType) {
|
||||
return mimeType.type === PDF_CONTENT_TYPE;
|
||||
return mimeType === PDF_CONTENT_TYPE;
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user