fix bug with data attrib for boost in home TL

th-downstream
Ondřej Hruška 7 years ago
parent 6c783a25c2
commit 9d03c77d0f

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

Loading…
Cancel
Save