From 749281d959f4eb213939e8a6cf535bc0c664ce09 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Sat, 7 Jul 2018 08:16:41 -0700 Subject: [PATCH] add action to open post in browser resolves issue #65 --- src/pages/stream/stream.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pages/stream/stream.ts b/src/pages/stream/stream.ts index a379ca1..8a3cb9c 100644 --- a/src/pages/stream/stream.ts +++ b/src/pages/stream/stream.ts @@ -563,6 +563,7 @@ export class NewPostModal { @Component({ template: ` + @@ -581,6 +582,11 @@ export class PostMenu { } } + browse() { + window.open('https://posts.pnut.io/' + this.navParams.data.post.id, '_system'); + this.close(); + } + share() { (window).shareContentPlugin.share(this.navParams.data.post.content.text, function(e) { console.log('sharing post:');