From 7dbfd5ce299f172b6bdf85ec20f5e8e9ac2592b9 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 5 May 2018 01:54:49 -0400 Subject: [PATCH] Remove some extraneous lines in Zotero.OpenPDF --- chrome/content/zotero/xpcom/openPDF.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/chrome/content/zotero/xpcom/openPDF.js b/chrome/content/zotero/xpcom/openPDF.js index bcd7579925..9cf0551db4 100644 --- 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; },