mirror of
https://github.com/zotero/zotero.git
synced 2026-09-25 01:01:20 +00:00
Fix breakage from 10ba5e31d
This commit is contained in:
parent
b0550273ae
commit
cb707a55c8
1 changed files with 2 additions and 1 deletions
|
|
@ -910,7 +910,8 @@ Zotero.Item.prototype.getDisplayTitle = function (includeAuthorAndDate) {
|
|||
|
||||
if (participants.length > 0) {
|
||||
let names = [];
|
||||
for (let i=0; i<4; i++) {
|
||||
let max = Math.min(4, participants.length);
|
||||
for (let i=0; i<max; i++) {
|
||||
names.push(participants[i].ref.lastName);
|
||||
}
|
||||
switch (names.length) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue