Underscore.js _.delay() to native setTimeout()

This commit is contained in:
djmaze 2020-07-22 20:28:25 +02:00
parent a82575a830
commit 43c92a82e6
29 changed files with 67 additions and 82 deletions

View file

@ -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);
}