mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-18 15:42:54 +00:00
committed by
Thea Schöbl
parent
b2a8cba1aa
commit
ef7752ad49
@@ -14,7 +14,7 @@
|
||||
*/
|
||||
|
||||
import {Component, Input} from '@angular/core';
|
||||
import {Browser} from '../../../util/browser.factory';
|
||||
import {SimpleBrowser} from '../../../util/browser.factory';
|
||||
|
||||
@Component({
|
||||
selector: 'stapps-external-link',
|
||||
@@ -26,7 +26,7 @@ export class ExternalLinkComponent {
|
||||
|
||||
@Input() text: string;
|
||||
|
||||
constructor(private browser: Browser) {}
|
||||
constructor(private browser: SimpleBrowser) {}
|
||||
|
||||
onLinkClick(url: string) {
|
||||
// make sure if the url is valid and then open it in the browser (prevent problem in iOS)
|
||||
|
||||
Reference in New Issue
Block a user