From 66d5d515579189fac767f48904195484cd28c9da Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 16 Jun 2026 15:03:35 -0400 Subject: [PATCH] Drop stray whitespace changes in translate_item.js --- chrome/content/zotero/xpcom/translation/translate_item.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chrome/content/zotero/xpcom/translation/translate_item.js b/chrome/content/zotero/xpcom/translation/translate_item.js index f63f5c1b82..4fb2c4f675 100644 --- a/chrome/content/zotero/xpcom/translation/translate_item.js +++ b/chrome/content/zotero/xpcom/translation/translate_item.js @@ -1086,11 +1086,11 @@ Zotero.Translate.ItemGetter.prototype = { setCollection: function (collection, getChildCollections) { // get items in this collection var items = new Set(collection.getChildItems()); - + if (getChildCollections) { // Get child collections this._collectionsLeft = Zotero.Collections.getByParent(collection.id); - + // Get items in all descendant collections let descendantCollections = Zotero.Collections.getByParent(collection.id, true); for (let collection of descendantCollections) { @@ -1098,7 +1098,7 @@ Zotero.Translate.ItemGetter.prototype = { childItems.forEach(item => items.add(item)); } } - + this._itemsLeft = Array.from(items.values()); this._itemsLeft.sort((a, b) => a.id - b.id); this.numItems = this._itemsLeft.length;