Fix regression in Zotero.FullText.canReindex()
This commit is contained in:
parent
3b9afcc500
commit
b34d0d2acc
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue