Browse Source

Fix OCR with delete & redraft (#12465)

closed-social-v3
ThibG 5 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`, 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…
Cancel
Save