1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 14:48:08 +02:00

Bug 879161 - Fix pdf.js mimetype check.

This commit is contained in:
Brendan Dahl 2013-07-08 11:09:50 -07:00
parent 81fa4a0d93
commit 7eae88669a

View file

@ -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;
});
});