FIX: Missing inbound / outbound classes

This commit is contained in:
Robin Ward 2016-02-25 16:40:53 -05:00
parent fa9943c162
commit 33aad09672

View file

@ -34,7 +34,8 @@ export default createWidget('post-gutter', {
linkBody.push(h('span.badge.badge-notification.clicks', l.clicks.toString()));
}
const link = h('a.track-link', { attributes: { href: l.url } }, linkBody);
const className = l.reflection ? 'inbound' : 'outbound';
const link = h('a.track-link', { className, attributes: { href: l.url } }, linkBody);
result.push(h('li', link));
}
}