From 8a9986da475f4f50c21cd5cc2e56530fd51a6c95 Mon Sep 17 00:00:00 2001 From: Dan Stillman <dstillman@zotero.org> Date: Thu, 29 Dec 2016 03:57:50 -0500 Subject: [PATCH] Reduce initial visible creators to 5-7 (from 10-15) --- chrome/content/zotero/bindings/itembox.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml index c9ecba1a2..11dd51c12 100644 --- a/chrome/content/zotero/bindings/itembox.xml +++ b/chrome/content/zotero/bindings/itembox.xml @@ -53,7 +53,7 @@ <field name="blurHandler"/> <field name="eventHandlers">[]</field> - <field name="_initialVisibleCreators">10</field> + <field name="_initialVisibleCreators">5</field> <field name="_displayAllCreators"/> <!-- Modes are predefined settings groups for particular tasks --> @@ -561,8 +561,8 @@ if (num > 0) { // Limit number of creators display var max = Math.min(num, this._initialVisibleCreators); - // If fewer than five more, just display - if (num < max + 5 || this._displayAllCreators) { + // If only 1 or 2 more, just display + if (num < max + 3 || this._displayAllCreators) { max = num; } for (var i = 0; i < max; i++) {