mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 06:13:38 +00:00
allow launching URLs without protocol than end with tld
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: fc5fcb905f...e7464785e1
@@ -40,7 +40,7 @@ export class ActionButtonsComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.analytics.eventTrack.next({ action: 'Launched URI From Listing' });
|
this.analytics.eventTrack.next({ action: 'Launched URI From Listing' });
|
||||||
BrowserApi.createNewTab(this.cipher.login.uri);
|
BrowserApi.createNewTab(this.cipher.login.launchUri);
|
||||||
if (this.popupUtilsService.inPopup(window)) {
|
if (this.popupUtilsService.inPopup(window)) {
|
||||||
BrowserApi.closePopup(window);
|
BrowserApi.closePopup(window);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -188,7 +188,7 @@ export class CiphersComponent extends BaseCiphersComponent implements OnInit, On
|
|||||||
}
|
}
|
||||||
this.preventSelected = true;
|
this.preventSelected = true;
|
||||||
this.analytics.eventTrack.next({ action: 'Launched URI From Listing' });
|
this.analytics.eventTrack.next({ action: 'Launched URI From Listing' });
|
||||||
BrowserApi.createNewTab(cipher.login.uri);
|
BrowserApi.createNewTab(cipher.login.launchUri);
|
||||||
if (this.popupUtils.inPopup(window)) {
|
if (this.popupUtils.inPopup(window)) {
|
||||||
BrowserApi.closePopup(window);
|
BrowserApi.closePopup(window);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -271,7 +271,7 @@ export class GroupingsComponent extends BaseGroupingsComponent implements OnInit
|
|||||||
}
|
}
|
||||||
this.preventSelected = true;
|
this.preventSelected = true;
|
||||||
this.analytics.eventTrack.next({ action: 'Launched URI From Listing' });
|
this.analytics.eventTrack.next({ action: 'Launched URI From Listing' });
|
||||||
BrowserApi.createNewTab(cipher.login.uri);
|
BrowserApi.createNewTab(cipher.login.launchUri);
|
||||||
if (this.popupUtils.inPopup(window)) {
|
if (this.popupUtils.inPopup(window)) {
|
||||||
BrowserApi.closePopup(window);
|
BrowserApi.closePopup(window);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user