diff --git a/js/page/home.js b/js/page/home.js index cd8fc498c..c32f66da0 100644 --- a/js/page/home.js +++ b/js/page/home.js @@ -252,7 +252,6 @@ var mainMenuStyle = { }; var MainMenu = React.createClass({ - _showClose: /linux/i.test(navigator.userAgent), // @TODO: find a way to use getVersionInfo() here without messy state management propTypes: { show: React.PropTypes.bool, }, @@ -262,13 +261,15 @@ var MainMenu = React.createClass({ } }, render: function() { + var isLinux = /linux/i.test(navigator.userAgent); // @TODO: find a way to use getVersionInfo() here without messy state management return (