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

@ -1 +1 @@
Subproject commit fc5fcb905fe465e99e85540f6b645c0f11b6704d
Subproject commit e7464785e134e5d723a4901cf54c5dd1668efb5c

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);
}