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 f34f33c19e
commit 7b42d14f45

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')}`;