replaced knockout hasfocus with autofocus=""

This commit is contained in:
djmaze 2021-03-23 22:57:40 +01:00
parent 650e962fdf
commit b4ab5b891a
12 changed files with 18 additions and 50 deletions

View file

@ -11,7 +11,6 @@ class NewOpenPgpKeyPopupView extends AbstractViewPopup {
this.addObservables({
email: '',
emailFocus: '',
emailError: false,
name: '',
@ -101,10 +100,6 @@ class NewOpenPgpKeyPopupView extends AbstractViewPopup {
onShow() {
this.clearPopup();
}
onShowWithDelay() {
this.emailFocus(true);
}
}
export { NewOpenPgpKeyPopupView, NewOpenPgpKeyPopupView as default };