Fix detection of newer versions of pdf.js
This commit is contained in:
parent
c9beb5b45a
commit
2139603ae1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue