Skip to content
Snippets Groups Projects
Commit f70d8ed4 authored by Tiago Cunha's avatar Tiago Cunha
Browse files

Force button focus

parent 869ad7fe
No related merge requests found
......@@ -52,6 +52,7 @@ Template.loginForm.events
event.preventDefault()
button = $(event.target).find('button.login')
button.focus()
RocketChat.Button.loading(button)
formData = instance.validate()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment