This website works better with JavaScript.
Home
Explore
Help
Sign In
jyt94
/
closedSocialMastodon
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fix "undefined" in className (
#3939
)
closed-social-v3
PFM
7 years ago
committed by
Eugen Rochko
parent
3d4e21f1ec
commit
099a3b4eac
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/javascript/mastodon/components/permalink.js
+ 1
- 1
app/javascript/mastodon/components/permalink.js
View File
@ -25,7 +25,7 @@ export default class Permalink extends React.PureComponent {
const
{
href
,
children
,
className
,
...
other
}
=
this
.
props
;
const
{
href
,
children
,
className
,
...
other
}
=
this
.
props
;
return
(
return
(
<
a
href
=
{
href
}
onClick
=
{
this
.
handleClick
}
{
...
other
}
className
=
{
'permalink
'
+
className
}
>
<
a
href
=
{
href
}
onClick
=
{
this
.
handleClick
}
{
...
other
}
className
=
{
`
permalink
${
className
?
'
'
+
className
:
''
}
`
}
>
{
children
}
{
children
}
<
/
a
>
<
/
a
>
)
;
)
;
Write
Preview
Loading…
Cancel
Save