show more wasn't counting links properly

This commit is contained in:
Régis Hanol 2016-06-08 16:13:29 +02:00
parent 40e9e1be66
commit da4789253c
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ export default createWidget('post-links', {
result.push(h('li', this.attach('link', {
labelCount: 'post_links.title',
title: 'post_links.about',
count: links.length,
count: dedupedLinks.length - max,
action: 'expandLinks',
className: 'expand-links'
})));