1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-02 08:48:11 +09:00

[Client] Improve usability

This commit is contained in:
syuilo 2017-01-21 08:42:35 +09:00
parent d7bf7ff188
commit 728bbb658e

View File

@ -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!