diff options
Diffstat (limited to 'src/misc-templates.js')
-rw-r--r-- | src/misc-templates.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/misc-templates.js b/src/misc-templates.js index 867193c7..b7c64597 100644 --- a/src/misc-templates.js +++ b/src/misc-templates.js @@ -104,9 +104,9 @@ function unbound_getArtistString(artists, { class: 'icons' }, language.formatUnitList( - urls.map(url => iconifyURL(url, {language})))); + urls.slice(0, 4).map(url => iconifyURL(url, {language})))); - return ( + return html.tag('span', {class: 'nowrap'}, (hasContribPart ? (hasExternalPart ? language.$('misc.artistLink.withContribution.withExternalLinks', { @@ -125,8 +125,7 @@ function unbound_getArtistString(artists, { }) : language.$('misc.artistLink', { artist: artistLink, - }))) - ); + })))); })); } |