authentication: refocus username input when toggling mode
This commit is contained in:
parent
0a28bb5271
commit
0397e191e0
@ -112,6 +112,8 @@ export default class extends AbstractNonAuthenticatedView
|
||||
|
||||
this.titleKey = this.current_mode === 'register' ? 'registerWindowTitle' : 'loginWindowTitle';
|
||||
this.setTitle();
|
||||
|
||||
document.getElementById('username-input').focus();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user