mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 11:13:46 +00:00
expand vault uses a popup instead of a new tab
This commit is contained in:
@@ -236,6 +236,10 @@ function initUtilsService() {
|
||||
return theWindow.location.search && theWindow.location.search.indexOf('uilocation=tab') > -1;
|
||||
};
|
||||
|
||||
UtilsService.prototype.inPopout = function (theWindow) {
|
||||
return theWindow.location.search && theWindow.location.search.indexOf('uilocation=popout') > -1;
|
||||
};
|
||||
|
||||
UtilsService.prototype.inPopup = function (theWindow) {
|
||||
return theWindow.location.search && theWindow.location.search.indexOf('uilocation=popup') > -1;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user