diff options
author | ThibG <thib@sitedethib.com> | 2019-11-25 01:42:51 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-11-25 01:42:51 +0100 |
commit | e7a7f88df7a763be6dad3a982829ef5a1b1dea09 (patch) | |
tree | ca434c3a4478cfabf828ec93aa53ad1dd2ef196a | |
parent | 00b8704a320595983acabb1692f0e58b88c9d640 (diff) |
Fix OCR with delete & redraft (#12465)
-rw-r--r-- | app/javascript/mastodon/features/ui/components/focal_point_modal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/ui/components/focal_point_modal.js b/app/javascript/mastodon/features/ui/components/focal_point_modal.js index ddbe3961d..7d1509f71 100644 --- a/app/javascript/mastodon/features/ui/components/focal_point_modal.js +++ b/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 { |