Skip to content

Commit 23d0309

Browse files
Merge pull request #58 from ekonstantinidis/settings-back
Close settings if open already
2 parents 7475f3e + 711b9fe commit 23d0309

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/js/components/navigation.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ var Navigation = React.createClass({
8484
}
8585
if (this.getPath() === '/settings') {
8686
backIcon = (
87-
<i onClick={this.goBack} className='fa fa-chevron-left' />
87+
<i className='fa fa-chevron-left' onClick={this.goBack} />
88+
);
89+
settingsIcon = (
90+
<i className='fa fa-cog' onClick={this.goBack} />
8891
);
8992
}
9093

0 commit comments

Comments
 (0)