commit 225c62df188f88ec469e51046929431e695b179a
parent 4cf79691ed00be482136a8586e534dc7ea7d573c
Author: Simon Kornblith <simon@simonster.com>
Date: Fri, 22 Aug 2008 05:38:36 +0000
fix JS warnings
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git 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
@@ -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