fix JS warnings

This commit is contained in:
Simon Kornblith 2008-08-22 05:38:36 +00:00
parent d11e345174
commit 02f25a985b
2 changed files with 2 additions and 1 deletions

View File

@ -1566,6 +1566,7 @@ var ZoteroPane = new function()
} }
if (item.isAttachment()) { if (item.isAttachment()) {
var showSep4 = false;
hide.push(m.duplicateItem); hide.push(m.duplicateItem);
// If not linked URL, show reindex line // If not linked URL, show reindex line
if (Zotero.Fulltext.canReindex(item.id)) { if (Zotero.Fulltext.canReindex(item.id)) {

View File

@ -29,7 +29,7 @@ const MAX_PAGES = 2;
* Front end for recognizing PDFs * Front end for recognizing PDFs
* @namespace * @namespace
*/ */
Zotero_RecognizePDF = new function() { var Zotero_RecognizePDF = new function() {
/** /**
* Checks whether a given PDF could theoretically be recognized * Checks whether a given PDF could theoretically be recognized
* @returns {Boolean} True if the PDF can be recognized, false if it cannot be * @returns {Boolean} True if the PDF can be recognized, false if it cannot be