From bb9237e82db1ed73eca876204554fb14655d9684 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 16 Feb 2021 07:38:54 -0500 Subject: [PATCH] Better comment for Zotero.Item.prototype._getPageIndexSettingKey() --- chrome/content/zotero/xpcom/data/item.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js index 59854d40a7..30a3d4cc34 100644 --- a/chrome/content/zotero/xpcom/data/item.js +++ b/chrome/content/zotero/xpcom/data/item.js @@ -3301,7 +3301,11 @@ Zotero.Item.prototype.setAttachmentPageIndex = async function (val) { }; -// pageIndex_u_ABCD2345 +/** + * Get the key for the item's pageIndex synced setting + * + * E.g., 'pageIndex_u_ABCD2345' or 'pageIndex_g123_ABCD2345' + */ Zotero.Item.prototype._getPageIndexSettingKey = function () { var library = Zotero.Libraries.get(this.libraryID); var id = 'pageIndex_';