mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
[Client] Improve usability
This commit is contained in:
parent
5889008e2d
commit
dd6cb158a2
@ -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
Block a user