fix bug with data attrib for boost in home TL

lolsob-rspec
Ondřej Hruška 2017-08-04 22:38:58 +02:00
parent 6c783a25c2
commit 9d03c77d0f
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')}`;