mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
replaced knockout hasfocus with autofocus=""
This commit is contained in:
parent
650e962fdf
commit
b4ab5b891a
12 changed files with 18 additions and 50 deletions
|
|
@ -20,9 +20,7 @@ class AccountPopupView extends AbstractViewPopup {
|
|||
|
||||
submitRequest: false,
|
||||
submitError: '',
|
||||
submitErrorAdditional: '',
|
||||
|
||||
emailFocus: false
|
||||
submitErrorAdditional: ''
|
||||
});
|
||||
|
||||
this.email.subscribe(() => this.emailError(false));
|
||||
|
|
@ -84,10 +82,6 @@ class AccountPopupView extends AbstractViewPopup {
|
|||
this.email(account.email);
|
||||
}
|
||||
}
|
||||
|
||||
onShowWithDelay() {
|
||||
this.emailFocus(true);
|
||||
}
|
||||
}
|
||||
|
||||
export { AccountPopupView, AccountPopupView as default };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue