commit 8a9986da475f4f50c21cd5cc2e56530fd51a6c95
parent 9ffab20a0951dad9c585fed39109c673a4ae47cb
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 29 Dec 2016 03:57:50 -0500
Reduce initial visible creators to 5-7 (from 10-15)
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git 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++) {