1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

manage ui location for popup app

This commit is contained in:
Kyle Spearrin
2017-10-06 00:05:08 -04:00
parent 31f73895b8
commit d4cf0fe338
9 changed files with 21 additions and 9 deletions

View File

@@ -136,7 +136,7 @@
if (login.uri.startsWith('http://') || login.uri.startsWith('https://')) {
$analytics.eventTrack('Launched Website From Listing');
chrome.tabs.create({ url: login.uri });
if (!utilsService.inSidebar($window)) {
if (utilsService.inPopup($window)) {
$window.close();
}
}