[Glitch] Fix OCR with delete & redraft

Port e7a7f88df7 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
local
ThibG 5 years ago committed by Thibaut Girka
parent 2b7158427f
commit 7ce7575549
  1. 2
      app/javascript/flavours/glitch/features/ui/components/focal_point_modal.js

@ -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 {

Loading…
Cancel
Save