mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 15:40:57 -07:00
[Client] Improve usability
This commit is contained in:
parent
5889008e2d
commit
dd6cb158a2
1 changed files with 7 additions and 0 deletions
|
@ -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 a new issue