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(); let mimeTypes = tag.getMimeTypes();
return mimeTypes.some(function(mimeType) { return mimeTypes.some(function(mimeType) {
return mimeType.type === PDF_CONTENT_TYPE; return mimeType === PDF_CONTENT_TYPE;
}); });
}); });