Skip to content

Commit

Permalink
Merge pull request mui#350 from eternal0/master
Browse files Browse the repository at this point in the history
Allow specifying target for LINK menu item
  • Loading branch information
hai-cea committed Feb 21, 2015
2 parents 6c2c6cf + 8029b71 commit f6d3b4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/menu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ var Menu = React.createClass({

case MenuItem.Types.LINK:
itemComponent = (
<a key={i} index={i} className="mui-menu-item" href={menuItem.payload}>{menuItem.text}</a>
<a key={i} index={i} className="mui-menu-item" href={menuItem.payload} target={menuItem.target}>{menuItem.text}</a>
);
break;

Expand Down Expand Up @@ -286,4 +286,4 @@ var Menu = React.createClass({

});

module.exports = Menu;
module.exports = Menu;

0 comments on commit f6d3b4f

Please sign in to comment.