diff --git a/src/popup/app/current/current.component.ts b/src/popup/app/current/current.component.ts index 7b73c6efff..e21656a7b5 100644 --- a/src/popup/app/current/current.component.ts +++ b/src/popup/app/current/current.component.ts @@ -36,7 +36,7 @@ export class CurrentController { } $onInit() { - this.$timeout(function () { + this.$timeout(() => { document.getElementById('search').focus(); }, 50);