fix bug with data attrib for boost in home TL

This commit is contained in:
Ondřej Hruška 2017-08-04 22:38:58 +02:00
parent 6c783a25c2
commit 9d03c77d0f

View file

@ -679,6 +679,7 @@ Users can use those for theming, hiding avatars etc via UserStyle
const notifKind = {
favourite: 'favourited',
reblog: 'boosted',
reblogged_by: 'boosted',
}[prepend];
selectorAttribs[`data-${notifKind}-by`] = `@${account.get('acct')}`;