Browse Source

Fix OCR with delete & redraft (#12465)

master
ThibG 4 years ago
committed by Eugen Rochko
parent
commit
e7a7f88df7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/features/ui/components/focal_point_modal.js

+ 1
- 1
app/javascript/mastodon/features/ui/components/focal_point_modal.js 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 {

Loading…
Cancel
Save