diff options
Diffstat (limited to 'src/web/js/components')
-rw-r--r-- | src/web/js/components/Menu.react.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/js/components/Menu.react.js b/src/web/js/components/Menu.react.js index d4752a94..6fa4071d 100644 --- a/src/web/js/components/Menu.react.js +++ b/src/web/js/components/Menu.react.js @@ -128,7 +128,7 @@ var CategoryGroup = React.createClass({ if(this.props.unread) { unread = <Badge pullRight>{this.props.unread}</Badge>; } - var ctrl = (<Glyphicon onClick={this.toggleFolding} pullLeft + var ctrl = (<Glyphicon onClick={this.toggleFolding} glyph={this.state.folded?"menu-right":"menu-down"} /> ); @@ -221,7 +221,7 @@ var MenuFilter = React.createClass({ var Menu = React.createClass({ getInitialState: function() { - return {filter: 'unread', categories: {}, feeds: {}, + return {filter: 'all', categories: {}, feeds: {}, all_folded: false, active_type: null, active_id: null}; }, render: function() { |