From 8890a0cb8c9f416fd125cc84b4a12bb07db34252 Mon Sep 17 00:00:00 2001 From: Jonas Whidden Date: Sun, 17 Jul 2016 17:16:57 -0500 Subject: [PATCH] Make title a link to show page, make watch link not use lory:// --- js/component/common.js | 8 ++------ js/page/home.js | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/js/component/common.js b/js/component/common.js index 343a3634d..ca83c3dd6 100644 --- a/js/component/common.js +++ b/js/component/common.js @@ -87,12 +87,8 @@ var WatchLink = React.createClass({ }, render: function() { - // No support for lbry:// URLs in Windows or on Chrome yet - if (/windows|win32/i.test(navigator.userAgent) || (window.chrome && window.navigator.vendor == "Google Inc.")) { - var uri = "/?watch=" + this.props.streamName; - } else { - var uri = 'lbry://' + this.props.streamName; - } + var uri = "/?watch=" + this.props.streamName; + return ; } diff --git a/js/page/home.js b/js/page/home.js index 2d84643ed..605b10e91 100644 --- a/js/page/home.js +++ b/js/page/home.js @@ -191,7 +191,7 @@ var FeaturedContentItem = React.createClass({ {'Photo
-

{this.state.title}

+

{this.state.title}