Fix target blank issue
parent
cde48b5c6b
commit
eab4771466
|
@ -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>
|
||||
);
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue