1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

clear vault upon logout. full sync vault upon login.

This commit is contained in:
Kyle Spearrin
2016-09-21 00:04:59 -04:00
parent 8b76668f1f
commit 2e56a956db
7 changed files with 86 additions and 40 deletions

View File

@@ -108,6 +108,10 @@
toastr.info(type + ' copied!');
};
$scope.$on('syncCompleted', function (event, args) {
setTimeout(loadVault, 500);
});
function getScrollY() {
var content = document.getElementsByClassName('content')[0];
return content.scrollTop;