From d80cdf1690226942cc30a792a09f514acc011c68 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Mon, 12 Nov 2018 13:27:17 -0800 Subject: [PATCH] Change target for opening links --- src/pages/stream/post-menu.ts | 2 +- src/pages/stream/stream.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/stream/post-menu.ts b/src/pages/stream/post-menu.ts index c48bb5f..a0326d0 100644 --- a/src/pages/stream/post-menu.ts +++ b/src/pages/stream/post-menu.ts @@ -27,7 +27,7 @@ export class PostMenu { } browse() { - window.open('https://posts.pnut.io/' + this.navParams.data.post.id, '_system'); + window.open('https://posts.pnut.io/' + this.navParams.data.post.id, '_blank'); this.close(); } diff --git a/src/pages/stream/stream.ts b/src/pages/stream/stream.ts index e0d9407..9c825cc 100644 --- a/src/pages/stream/stream.ts +++ b/src/pages/stream/stream.ts @@ -308,7 +308,7 @@ export class StreamPage { } showImage(url) { - window.open(url, '_system'); + window.open(url, '_blank'); } presentToast(text) {