Fix error from letter items with more than 10 recipients
https://forums.zotero.org/discussion/40218/
This commit is contained in:
parent
ce6cba7974
commit
10ba5e31d6
1 changed files with 3 additions and 3 deletions
|
@ -908,9 +908,9 @@ Zotero.Item.prototype.getDisplayTitle = function (includeAuthorAndDate) {
|
|||
}
|
||||
|
||||
if (participants.length > 0) {
|
||||
var names = [];
|
||||
for each(participant in participants) {
|
||||
names.push(participant.ref.lastName);
|
||||
let names = [];
|
||||
for (let i=0; i<4; i++) {
|
||||
names.push(participants[i].ref.lastName);
|
||||
}
|
||||
switch (names.length) {
|
||||
case 1:
|
||||
|
|
Loading…
Add table
Reference in a new issue