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

@ -9,7 +9,6 @@ class TwoFactorTestPopupView extends AbstractViewPopup {
this.addObservables({
code: '',
codeFocused: false,
codeStatus: null,
testing: false
@ -36,7 +35,6 @@ class TwoFactorTestPopupView extends AbstractViewPopup {
clearPopup() {
this.code('');
this.codeFocused(false);
this.codeStatus(null);
this.testing(false);
@ -48,10 +46,6 @@ class TwoFactorTestPopupView extends AbstractViewPopup {
this.koTestedTrigger = koTestedTrigger;
}
onShowWithDelay() {
this.codeFocused(true);
}
}
export { TwoFactorTestPopupView, TwoFactorTestPopupView as default };