This website works better with JavaScript.
Home
Explore
Help
Sign In
nekobus
/
mastodon_neko
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 OCR with delete & redraft (
#12465
)
closed-social-v3
ThibG
5 years ago
committed by
Eugen Rochko
parent
00b8704a32
commit
e7a7f88df7
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/javascript/mastodon/features/ui/components/focal_point_modal.js
+ 1
- 1
app/javascript/mastodon/features/ui/components/focal_point_modal.js
View File
@ -214,7 +214,7 @@ class FocalPointModal extends ImmutablePureComponent {
langPath
:
`
${
assetHost
}
/ocr/lang-data
`
,
}
)
;
let
media_url
=
media
.
get
(
'
file
'
)
;
let
media_url
=
media
.
get
(
'
url
'
)
;
if
(
window
.
URL
&&
URL
.
createObjectURL
)
{
try
{
Write
Preview
Loading…
Cancel
Save