forked from treehouse/mastodon
[Glitch] Fix OCR with delete & redraft
Port e7a7f88df7
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
rebase/4.0.0rc2
parent
2b7158427f
commit
7ce7575549
|
@ -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 New Issue