1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

formatting

This commit is contained in:
Ivar Conradi Østhus 2015-03-17 20:40:22 +01:00
parent 0fb855d958
commit f11cd291c2

View File

@ -1,5 +1,5 @@
var React = require('react'),
LogEntry = require('./LogEntry');
LogEntry = require('./LogEntry');
var LogEntryList = React.createClass({
propTypes: {
@ -9,7 +9,7 @@ var LogEntryList = React.createClass({
getInitialState: function() {
return {
showFullEvents: false
}
};
},
render: function() {
@ -21,7 +21,12 @@ var LogEntryList = React.createClass({
<div>
<label className="prs fright-ht768 smalltext">
Show full events
<input type="checkbox" className="mlm" value={this.state.fullEvents} onChange={this.toggleFullEvents}></input>
<input
type="checkbox"
className="mlm"
value={this.state.fullEvents}
onChange={this.toggleFullEvents}>
</input>
</label>
<table className='outerborder zebra-striped'>
@ -43,7 +48,7 @@ var LogEntryList = React.createClass({
);
},
toggleFullEvents: function(e) {
toggleFullEvents: function() {
this.setState({showFullEvents: !this.state.showFullEvents});
}