1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

expand vault to new window

This commit is contained in:
Kyle Spearrin
2017-06-09 15:10:22 -04:00
parent c6356504bb
commit d6f1a55d30
3 changed files with 45 additions and 39 deletions

View File

@@ -153,6 +153,11 @@
$timeout(loadVault, 500);
});
$scope.expandVault = function (e) {
$analytics.eventTrack('Expand Vault');
chrome.tabs.create({ url: '/popup/index.html#!/tab/vault' });
};
function storeState() {
stateService.saveState(stateKey, {
scrollY: getScrollY(),