1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 17:23:37 +00:00

fix remember bug and auto-focus on lock screen

This commit is contained in:
Kyle Spearrin
2017-09-28 11:03:41 -04:00
parent 6fa5582883
commit 3ce2fb484a
3 changed files with 7 additions and 4 deletions

View File

@@ -2,9 +2,12 @@
.module('bit.lock')
.controller('lockController', function ($scope, $state, $analytics, i18nService, cryptoService, toastr,
userService, SweetAlert) {
userService, SweetAlert, $timeout) {
$scope.i18n = i18nService;
$('#master-password').focus();
$timeout(function () {
$('#master-password').focus();
});
$scope.logOut = function () {
SweetAlert.swal({