1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

vault fixes

This commit is contained in:
Kyle Spearrin
2018-03-17 12:01:03 -04:00
parent dcb0416fd6
commit 8bc9dafff2
3 changed files with 11 additions and 3 deletions

View File

@@ -22,7 +22,11 @@
}
$scope.$on('$viewContentLoaded', function () {
$("#search").focus();
$timeout(function () {
if ($('body').hasClass('control-sidebar-open')) {
$("#search").focus();
}
}, 500);
if (($rootScope.vaultFolders || $rootScope.vaultCollections) && $rootScope.vaultCiphers) {
$scope.loading = false;