Fix target blank issue

pull/4400/head
Berkeley Martinez 2015-11-13 12:54:46 -08:00
parent cde48b5c6b
commit eab4771466
2 changed files with 8 additions and 5 deletions

View File

@ -48,9 +48,9 @@ export default React.createClass({
<LinkContainer
eventKey={ index + 1 }
key={ content }
target={ target || null }
to={ link }>
<NavItem>
<NavItem
target={ target || null } >
{ content }
</NavItem>
</LinkContainer>
@ -60,7 +60,8 @@ export default React.createClass({
<NavItem
eventKey={ index + 1 }
href={ link }
key={ content }>
key={ content }
target={ target || null }>
{ content }
</NavItem>
);

View File

@ -3,14 +3,16 @@
"link": "/map"
}, {
"content": "Chat",
"link": "//gitter.im/FreeCodeCamp/FreeCodeCamp"
"link": "//gitter.im/FreeCodeCamp/FreeCodeCamp",
"target": "_blank"
},{
"content": "Wiki",
"link": "https://github.com/freecodecamp/freecodecamp/wiki/",
"target": "_blank"
},{
"content": "News",
"link": "/news"
"link": "/news",
"target": "_blank"
},{
"content": "Jobs",
"link": "/jobs",