fix bug with data attrib for boost in home TL

main
Ondřej Hruška 2017-08-04 22:38:58 +02:00
parent f34f33c19e
commit 7b42d14f45
1 changed files with 1 additions and 0 deletions

View File

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