commit 7dbfd5ce299f172b6bdf85ec20f5e8e9ac2592b9
parent 040e0a726a0f9b0b4c79bf9355518b5e254a82a6
Author: Dan Stillman <dstillman@zotero.org>
Date: Sat, 5 May 2018 01:54:49 -0400
Remove some extraneous lines in Zotero.OpenPDF
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/chrome/content/zotero/xpcom/openPDF.js b/chrome/content/zotero/xpcom/openPDF.js
@@ -30,11 +30,9 @@ Zotero.OpenPDF = {
if (Zotero.isMac) {
if (handler.includes('Preview')) {
this._openWithPreview(path, page);
- opened = true;
}
else if (handler.includes('Skim')) {
this._openWithSkim(path, page);
- opened = true;
}
else {
// Try to detect default app
@@ -85,7 +83,6 @@ Zotero.OpenPDF = {
}
}
}
-
return opened;
},