mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
edge fixes
This commit is contained in:
@@ -24,7 +24,16 @@ angular
|
||||
|
||||
self.expandVault = function (e) {
|
||||
$analytics.eventTrack('Expand Vault');
|
||||
chrome.tabs.create({ url: $window.location.href });
|
||||
|
||||
var href = $window.location.href;
|
||||
if (utilsService.isEdge()) {
|
||||
var popupIndex = href.indexOf('/popup/');
|
||||
if (popupIndex > -1) {
|
||||
href = href.substring(popupIndex);
|
||||
}
|
||||
}
|
||||
|
||||
chrome.tabs.create({ url: href });
|
||||
};
|
||||
|
||||
chrome.runtime.onMessage.addListener(function (msg, sender, sendResponse) {
|
||||
|
||||
Reference in New Issue
Block a user