mirror of
https://github.com/zotero/zotero.git
synced 2026-09-23 00:43:17 +00:00
Fix regression in 05d74c4cac
This commit is contained in:
parent
91ef561474
commit
01ecff8e2b
1 changed files with 1 additions and 2 deletions
|
|
@ -1834,8 +1834,7 @@ Zotero.Item.prototype.isTopLevelItem = function () {
|
|||
|
||||
|
||||
Zotero.Item.prototype.numChildren = function(includeTrashed) {
|
||||
this._requireData('childItems');
|
||||
return this._notes.rows.length + this._attachments.rows.length;
|
||||
return this.numNotes(includeTrashed) + this.numAttachments(includeTrashed);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue