Fix OCR with delete & redraft (#12465)

master
ThibG 5 years ago committed by Eugen Rochko
parent 00b8704a32
commit e7a7f88df7
  1. 2
      app/javascript/mastodon/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