commit 2139603ae1ccb68d5267022d7f8d46ff867d9ab2 parent c9beb5b45a0cefd956203b4a818c2dcdfd3dece1 Author: Simon Kornblith <simon@simonster.com> Date: Thu, 1 Nov 2012 15:44:52 -0400 Fix detection of newer versions of pdf.js Diffstat:
| M | 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 @@ -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; } }