1
0
mirror of https://github.com/bitwarden/web synced 2025-12-25 12:43:19 +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

@@ -51,7 +51,11 @@
$q.all([collectionPromise, cipherPromise]).then(function () {
$scope.loading = false;
$("#search").focus();
$timeout(function () {
if ($('body').hasClass('control-sidebar-open')) {
$("#search").focus();
}
}, 500);
if ($state.params.search) {
$uibModalStack.dismissAll();