[Glitch] Fix OCR with delete & redraft

Port c872f1cdb6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
lolsob-rspec
ThibG 2019-11-25 01:42:51 +01:00 committed by Thibaut Girka
parent e48f63787d
commit 95164e759b
1 changed files with 1 additions and 1 deletions

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 {