diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js index c15e89864..82fc71b03 100644 --- a/chrome/content/zotero/overlay.js +++ b/chrome/content/zotero/overlay.js @@ -1566,6 +1566,7 @@ var ZoteroPane = new function() } if (item.isAttachment()) { + var showSep4 = false; hide.push(m.duplicateItem); // If not linked URL, show reindex line if (Zotero.Fulltext.canReindex(item.id)) { diff --git a/chrome/content/zotero/recognizePDF.js b/chrome/content/zotero/recognizePDF.js index ab9f824b6..fd5eb4292 100644 --- a/chrome/content/zotero/recognizePDF.js +++ b/chrome/content/zotero/recognizePDF.js @@ -29,7 +29,7 @@ const MAX_PAGES = 2; * Front end for recognizing PDFs * @namespace */ -Zotero_RecognizePDF = new function() { +var Zotero_RecognizePDF = new function() { /** * Checks whether a given PDF could theoretically be recognized * @returns {Boolean} True if the PDF can be recognized, false if it cannot be