Skip to content
Snippets Groups Projects
Commit 728bbb65 authored by syuilo's avatar syuilo
Browse files

[Client] Improve usability

parent d7bf7ff1
No related branches found
No related tags found
No related merge requests found
......@@ -113,6 +113,13 @@
@onsubmit = (e) ~>
e.prevent-default!
if @refs.username.value == ''
@refs.username.focus!
return false
if @refs.password.value == ''
@refs.password.focus!
return false
@signing = true
@update!
......
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