mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 12:11:40 +01:00
Fix OCR with delete & redraft (#12465)
This commit is contained in:
parent
00b8704a32
commit
e7a7f88df7
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ class FocalPointModal extends ImmutablePureComponent {
|
||||||
langPath: `${assetHost}/ocr/lang-data`,
|
langPath: `${assetHost}/ocr/lang-data`,
|
||||||
});
|
});
|
||||||
|
|
||||||
let media_url = media.get('file');
|
let media_url = media.get('url');
|
||||||
|
|
||||||
if (window.URL && URL.createObjectURL) {
|
if (window.URL && URL.createObjectURL) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue