Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Error on handling "message" event, somehow connected with grecaptcha2 #500
Looks like if grecaptcha2 by Google is present on the same page with uploadcare widget, it causes uncaught TypeError.
How to reproduce
Just put uploadcare-widget (lastes 2.x or 3.x, doesn't matter) and Grecaptcha2 (https://www.google.com/recaptcha/api.js) on the same page. Uploadcare settings are:
TypeError itself. Reports in a console.
Potentially makes impossible to upload files, but this effect is kind of heisenbug.
Uploader dialog still opens and looks like its working proper way.