From b34d0d2acce18508bdd644c99fa6113f4621c891 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 13 Jan 2024 08:19:57 -0500 Subject: [PATCH] Fix regression in Zotero.FullText.canReindex() --- chrome/content/zotero/xpcom/fulltext.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/fulltext.js b/chrome/content/zotero/xpcom/fulltext.js index 4b02125898..659b934aba 100644 --- a/chrome/content/zotero/xpcom/fulltext.js +++ b/chrome/content/zotero/xpcom/fulltext.js @@ -1446,7 +1446,7 @@ Zotero.Fulltext = Zotero.FullText = new function(){ * Item must be a non-web-link attachment that isn't already fully indexed */ this.canReindex = Zotero.Promise.coroutine(function* (item) { - if (!item.canIndex(item)) { + if (!this.canIndex(item)) { return false; } switch (yield this.getIndexedState(item)) {