Skip to content

Commit

Permalink
Fix regression in 05d74c4
Browse files Browse the repository at this point in the history
  • Loading branch information
dstillman committed Aug 30, 2017
1 parent 91ef561 commit 01ecff8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions chrome/content/zotero/xpcom/data/item.js
Expand Up @@ -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);
}


Expand Down

0 comments on commit 01ecff8

Please sign in to comment.