We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug On README.md on https://github.com/centrifugal/centrifuge, the example index.html has a check for which key is used in the input element.
The current javascript has if (e.key === "ENTER") with uppercase ENTER
Should be if (e.key === "Enter")
Causes example index.html to not react to user input
To Reproduce Steps to reproduce the behavior:
Expected behavior Pressing enter on input element causes message to be sent
The text was updated successfully, but these errors were encountered:
Hello @mdmeacham
Many thanks for the report - just fixed. I guess there were some people who stopped looking at the library after the readme example failure 🫤
Sorry, something went wrong.
No branches or pull requests
Describe the bug
On README.md on https://github.com/centrifugal/centrifuge, the example index.html has a check for which key is used in the input element.
The current javascript has if (e.key === "ENTER") with uppercase ENTER
Should be if (e.key === "Enter")
Causes example index.html to not react to user input
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Pressing enter on input element causes message to be sent
The text was updated successfully, but these errors were encountered: