Skip to content

clear input in demo projects #2438

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

Closed
pouya-abbassi opened this issue Jul 9, 2018 · 1 comment
Closed

clear input in demo projects #2438

pouya-abbassi opened this issue Jul 9, 2018 · 1 comment

Comments

@pouya-abbassi
Copy link

I know it's not really huge bug and I know it's not a critical issue.
But it bothers me anyway.

In file demos/websocket/static/chat.js line 36 should be changed from:

form.find("input[type=text]").val("").select();

to:

$("#message").val("").select();

in order to really clear input and set focus on it.

garenchan added a commit to garenchan/tornado that referenced this issue Jul 11, 2018
bdarnell added a commit that referenced this issue Jul 15, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix issue #2438: clear input in demo projects
@bdarnell
Copy link
Member

Fixed in #2441

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