mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 04:59:21 +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
|
|
@ -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 };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue