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 mistake
closed-social-glitch-2
Eugen Rochko
7 years ago
parent
d00189b55a
commit
1761d3f9c3
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/assets/javascripts/components/actions/cards.jsx
+ 1
- 1
app/assets/javascripts/components/actions/cards.jsx
View File
@ -9,7 +9,7 @@ export function fetchStatusCard(id) {
dispatch
(
fetchStatusCardRequest
(
id
)
)
;
api
(
getState
)
.
get
(
`
/api/v1/statuses/
${
id
}
/card
`
)
.
then
(
response
=>
{
if
(
response
.
data
.
length
===
0
)
{
if
(
!
response
.
data
.
url
)
{
return
;
}
Write
Preview
Loading…
Cancel
Save