1
0
mirror of https://github.com/bitwarden/web synced 2026-01-08 03:23:29 +00:00

purge vault

This commit is contained in:
Kyle Spearrin
2017-10-25 21:46:35 -04:00
parent a57110b935
commit f3eaf644b0
6 changed files with 72 additions and 2 deletions

View File

@@ -129,6 +129,14 @@
});
};
$scope.purge = function () {
$uibModal.open({
animation: true,
templateUrl: 'app/settings/views/settingsPurge.html',
controller: 'settingsPurgeController'
});
};
function scrollToTop() {
$('html, body').animate({ scrollTop: 0 }, 200);
}