Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CustomChat widget throwing Uncaught ReferenceError: md5 is not defined #48

Open
beepsandbleeps opened this issue Oct 26, 2024 · 2 comments

Comments

@beepsandbleeps
Copy link

beepsandbleeps commented Oct 26, 2024

On the CustomChat widget I'm getting an error "Uncaught ReferenceError: md5 is not defined" when the md5 function is called if the user's displayColor is empty. I've copied over the same scr path to the blueimp-md5 library in the html file as your example. Any ideas?

@c4ldas
Copy link

c4ldas commented Oct 26, 2024

On widget.html, add https: to the md5 script URL on the first line, so it will look like this:

<script src="https://cdnjs.cloudflare.com/ajax/libs/blueimp-md5/2.12.0/js/md5.min.js"></script>

@beepsandbleeps
Copy link
Author

Awesome! Nice catch! Thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants