mastodon-glitch/app/javascript/mastodon/utils
ThibG be637146f3
Fix uninformative error message when uploading unsupported image files (#13540)
Attempting to upload image files that the browser is unable to load results
in “Oops! An unexpected error occurred.”

This commit changes the error handling so that an unprocessable image results
in the file being sent anyway, which might cover a few corner cases, and
provide a slightly better error message.
2020-04-25 12:27:29 +02:00
..
__tests__ Add comment, test to unescapeHTML (#7949) 2018-07-05 19:19:38 +09:00
base64.js Refactor resizeImage method (#7236) 2018-04-23 09:15:51 +02:00
html.js Add comment, test to unescapeHTML (#7949) 2018-07-05 19:19:38 +09:00
log_out.js Migrate Rails ujs as required for Rails 6 Upgrade. (#13280) 2020-03-21 03:14:50 +01:00
numbers.js Fix shortNumberFormat to within 3 chars without units (#12706) 2019-12-29 16:59:25 +01:00
resize_image.js Fix uninformative error message when uploading unsupported image files (#13540) 2020-04-25 12:27:29 +02:00
scrollbar.js Do not add margin light when opening modal on mobile (#11830) 2019-09-29 14:30:58 +02:00