1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 13:23:34 +00:00

allow launching URLs without protocol than end with tld

This commit is contained in:
Kyle Spearrin
2019-01-07 10:33:20 -05:00
parent 74e150116e
commit d6e257b1ce
4 changed files with 4 additions and 4 deletions

2
jslib

Submodule jslib updated: fc5fcb905f...e7464785e1

View File

@@ -40,7 +40,7 @@ export class ActionButtonsComponent {
}
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)) {
BrowserApi.closePopup(window);
}

View File

@@ -188,7 +188,7 @@ export class CiphersComponent extends BaseCiphersComponent implements OnInit, On
}
this.preventSelected = true;
this.analytics.eventTrack.next({ action: 'Launched URI From Listing' });
BrowserApi.createNewTab(cipher.login.uri);
BrowserApi.createNewTab(cipher.login.launchUri);
if (this.popupUtils.inPopup(window)) {
BrowserApi.closePopup(window);
}

View File

@@ -271,7 +271,7 @@ export class GroupingsComponent extends BaseGroupingsComponent implements OnInit
}
this.preventSelected = true;
this.analytics.eventTrack.next({ action: 'Launched URI From Listing' });
BrowserApi.createNewTab(cipher.login.uri);
BrowserApi.createNewTab(cipher.login.launchUri);
if (this.popupUtils.inPopup(window)) {
BrowserApi.closePopup(window);
}