[Client] Improve usability
This commit is contained in:
parent
d7bf7ff188
commit
728bbb658e
|
@ -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!
|
||||
|
||||
|
|
Loading…
Reference in New Issue