This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
fix bug with data attrib for boost in home TL
closed-social-glitch-2
Ondřej Hruška
7 years ago
parent
f34f33c19e
commit
7b42d14f45
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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'
)
}
`
;
Write
Preview
Loading…
Cancel
Save