Fix breakage from 10ba5e31d
This commit is contained in:
parent
b0550273ae
commit
cb707a55c8
|
@ -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…
Reference in New Issue
Block a user