mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
convert initListSectionItemListeners to js
Removed jQuery from background
This commit is contained in:
@@ -2,13 +2,15 @@ angular
|
||||
.module('bit.accounts')
|
||||
|
||||
.controller('accountsHintController', function ($scope, $state, apiService, toastr, $q, utilsService,
|
||||
$analytics, i18nService) {
|
||||
$analytics, i18nService, $timeout) {
|
||||
$timeout(function () {
|
||||
utilsService.initListSectionItemListeners(document, angular);
|
||||
document.getElementById('email').focus();
|
||||
}, 500);
|
||||
|
||||
$scope.i18n = i18nService;
|
||||
$scope.model = {};
|
||||
|
||||
utilsService.initListSectionItemListeners($(document), angular);
|
||||
$('#email').focus();
|
||||
|
||||
$scope.submitPromise = null;
|
||||
$scope.submit = function (model) {
|
||||
if (!model.email) {
|
||||
|
||||
Reference in New Issue
Block a user