Fix target blank issue
This commit is contained in:
@@ -48,9 +48,9 @@ export default React.createClass({
|
|||||||
<LinkContainer
|
<LinkContainer
|
||||||
eventKey={ index + 1 }
|
eventKey={ index + 1 }
|
||||||
key={ content }
|
key={ content }
|
||||||
target={ target || null }
|
|
||||||
to={ link }>
|
to={ link }>
|
||||||
<NavItem>
|
<NavItem
|
||||||
|
target={ target || null } >
|
||||||
{ content }
|
{ content }
|
||||||
</NavItem>
|
</NavItem>
|
||||||
</LinkContainer>
|
</LinkContainer>
|
||||||
@@ -60,7 +60,8 @@ export default React.createClass({
|
|||||||
<NavItem
|
<NavItem
|
||||||
eventKey={ index + 1 }
|
eventKey={ index + 1 }
|
||||||
href={ link }
|
href={ link }
|
||||||
key={ content }>
|
key={ content }
|
||||||
|
target={ target || null }>
|
||||||
{ content }
|
{ content }
|
||||||
</NavItem>
|
</NavItem>
|
||||||
);
|
);
|
||||||
|
@@ -3,14 +3,16 @@
|
|||||||
"link": "/map"
|
"link": "/map"
|
||||||
}, {
|
}, {
|
||||||
"content": "Chat",
|
"content": "Chat",
|
||||||
"link": "//gitter.im/FreeCodeCamp/FreeCodeCamp"
|
"link": "//gitter.im/FreeCodeCamp/FreeCodeCamp",
|
||||||
|
"target": "_blank"
|
||||||
},{
|
},{
|
||||||
"content": "Wiki",
|
"content": "Wiki",
|
||||||
"link": "https://github.com/freecodecamp/freecodecamp/wiki/",
|
"link": "https://github.com/freecodecamp/freecodecamp/wiki/",
|
||||||
"target": "_blank"
|
"target": "_blank"
|
||||||
},{
|
},{
|
||||||
"content": "News",
|
"content": "News",
|
||||||
"link": "/news"
|
"link": "/news",
|
||||||
|
"target": "_blank"
|
||||||
},{
|
},{
|
||||||
"content": "Jobs",
|
"content": "Jobs",
|
||||||
"link": "/jobs",
|
"link": "/jobs",
|
||||||
|
Reference in New Issue
Block a user