From 2139603ae1ccb68d5267022d7f8d46ff867d9ab2 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Thu, 1 Nov 2012 15:44:52 -0400 Subject: [PATCH] Fix detection of newer versions of pdf.js --- chrome/content/zotero/xpcom/attachments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/attachments.js b/chrome/content/zotero/xpcom/attachments.js index 1838100549..a30bd0f3a0 100644 --- a/chrome/content/zotero/xpcom/attachments.js +++ b/chrome/content/zotero/xpcom/attachments.js @@ -1373,7 +1373,7 @@ Zotero.Attachments = new function(){ var win = doc.defaultView; if(win) { win = win.wrappedJSObject; - if(win && "PDFJS" in win && win.PDFJS.isFirefoxExtension) { + if(win && "PDFJS" in win) { return true; } }