Refactored such that the menu doesn't open for firefox users
Этот коммит содержится в:
@@ -3,10 +3,14 @@
|
||||
|
||||
module.exports = React.createClass({
|
||||
render: function() {
|
||||
var editButton = '';
|
||||
if(!this.props.disableOpen) {
|
||||
editButton = <li className="col-sm-2 section-edit"><a className="section-edit theme" href="#" onClick={this.props.updateSection}>Edit</a></li>;
|
||||
}
|
||||
return (
|
||||
<ul className="section-min">
|
||||
<li className="col-sm-10 section-title">{this.props.title}</li>
|
||||
<li className="col-sm-2 section-edit"><a className="section-edit theme" href="#" onClick={this.props.updateSection}>Edit</a></li>
|
||||
{editButton}
|
||||
<li className="col-sm-7 section-describe">{this.props.describe}</li>
|
||||
</ul>
|
||||
);
|
||||
|
||||
Ссылка в новой задаче
Block a user