diff --git a/browser/extensions/pdfjs/content/PdfJs.jsm b/browser/extensions/pdfjs/content/PdfJs.jsm index 3c790c17b1cf..5522312d6109 100644 --- a/browser/extensions/pdfjs/content/PdfJs.jsm +++ b/browser/extensions/pdfjs/content/PdfJs.jsm @@ -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; }); });