Remove some extraneous lines in Zotero.OpenPDF

This commit is contained in:
Dan Stillman 2018-05-05 01:54:49 -04:00
parent 040e0a726a
commit 7dbfd5ce29

View file

@ -30,11 +30,9 @@ Zotero.OpenPDF = {
if (Zotero.isMac) { if (Zotero.isMac) {
if (handler.includes('Preview')) { if (handler.includes('Preview')) {
this._openWithPreview(path, page); this._openWithPreview(path, page);
opened = true;
} }
else if (handler.includes('Skim')) { else if (handler.includes('Skim')) {
this._openWithSkim(path, page); this._openWithSkim(path, page);
opened = true;
} }
else { else {
// Try to detect default app // Try to detect default app
@ -85,7 +83,6 @@ Zotero.OpenPDF = {
} }
} }
} }
return opened; return opened;
}, },