From c12b7645a7fefa818657657140ae40105b06fb4b Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Tue, 28 Feb 2017 18:22:20 -0500 Subject: [PATCH 1/2] Remove code for Linux close link Not needed for Electron --- js/component/drawer.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/component/drawer.js b/js/component/drawer.js index 01b7d0ffc..daf2bd584 100644 --- a/js/component/drawer.js +++ b/js/component/drawer.js @@ -33,7 +33,6 @@ var Drawer = React.createClass({ }.bind(this)); }, render: function() { - var isLinux = false && /linux/i.test(navigator.userAgent); // @TODO: find a way to use getVersionInfo() here without messy state management return ( ); } From 166db552b2107b79135461d691c3a0d4fe655999 Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Tue, 28 Feb 2017 18:23:49 -0500 Subject: [PATCH 2/2] Fix two links to Discover page Need the "index.html" for Electron --- js/component/drawer.js | 2 +- js/page/publish.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/component/drawer.js b/js/component/drawer.js index daf2bd584..3afb4b276 100644 --- a/js/component/drawer.js +++ b/js/component/drawer.js @@ -37,7 +37,7 @@ var Drawer = React.createClass({