mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Underscore.js _.delay() to native setTimeout()
This commit is contained in:
parent
a82575a830
commit
43c92a82e6
29 changed files with 67 additions and 82 deletions
|
|
@ -1,5 +1,4 @@
|
|||
import ko from 'ko';
|
||||
import _ from '_';
|
||||
|
||||
import { trim, triggerAutocompleteInputChange } from 'Common/Utils';
|
||||
|
||||
|
|
@ -103,7 +102,7 @@ class LoginAdminView extends AbstractViewNext {
|
|||
onShow() {
|
||||
routeOff();
|
||||
|
||||
_.delay(() => {
|
||||
setTimeout(() => {
|
||||
this.loginFocus(true);
|
||||
}, Magics.Time100ms);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue