diff --git a/public/js/components/log/LogEntryList.jsx b/public/js/components/log/LogEntryList.jsx index 697f71f7d9..372f8f9aef 100644 --- a/public/js/components/log/LogEntryList.jsx +++ b/public/js/components/log/LogEntryList.jsx @@ -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() { @@ -19,9 +19,14 @@ var LogEntryList = React.createClass({ return (
-
- ); + ); }, - toggleFullEvents: function(e) { + toggleFullEvents: function() { this.setState({showFullEvents: !this.state.showFullEvents}); } }); -module.exports = LogEntryList; \ No newline at end of file +module.exports = LogEntryList;