Browse Source

fix bug with data attrib for boost in home TL

closed-social-glitch-2
Ondřej Hruška 7 years ago
parent
commit
7b42d14f45
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/javascript/glitch/components/status/index.js

+ 1
- 0
app/javascript/glitch/components/status/index.js 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')}`;

Loading…
Cancel
Save