1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-24 07:06:18 +09:00

Fix OCR with delete & redraft (#12465)

This commit is contained in:
ThibG 2019-11-25 01:42:51 +01:00 committed by Eugen Rochko
parent 00b8704a32
commit e7a7f88df7

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 {