1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

focus vault search on $viewContentLoaded

This commit is contained in:
Kyle Spearrin
2017-12-19 11:30:52 -05:00
parent 16892239fb
commit 01ffc68fc2
3 changed files with 4 additions and 2 deletions

View File

@@ -18,6 +18,8 @@
}
$scope.$on('$viewContentLoaded', function () {
$("#search").focus();
if ($rootScope.vaultGroupings && $rootScope.vaultCiphers) {
$scope.loading = false;
loadGroupingData($rootScope.vaultGroupings);