mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
focus master password field on load
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
.module('bit.settings')
|
||||
|
||||
.controller('settingsTwoStepRecoverController', function ($scope, apiService, $uibModalInstance, cryptoService,
|
||||
$analytics) {
|
||||
$analytics, $timeout) {
|
||||
$analytics.eventTrack('settingsTwoStepRecoverController', { category: 'Modal' });
|
||||
$scope.code = null;
|
||||
|
||||
@@ -17,6 +17,10 @@
|
||||
});
|
||||
};
|
||||
|
||||
$timeout(function () {
|
||||
$("#masterPassword").focus();
|
||||
});
|
||||
|
||||
$scope.print = function () {
|
||||
if (!$scope.code) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user