fix missing decl

This commit is contained in:
Matthew Hodgson 2015-10-30 18:26:05 +00:00
parent 11e176df66
commit 79af89fd1b
2 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@ module.exports = React.createClass({
render: function() { render: function() {
var content = this.props.mxEvent.getContent(); var content = this.props.mxEvent.getContent();
var originalBody = content.body; var originalBody = content.body;
var body;
if (this.props.searchTerm) { if (this.props.searchTerm) {
var lastOffset = 0; var lastOffset = 0;

View File

@ -36,6 +36,7 @@ module.exports = React.createClass({
render: function() { render: function() {
var content = this.props.mxEvent.getContent(); var content = this.props.mxEvent.getContent();
var originalBody = content.body; var originalBody = content.body;
var body;
if (this.props.searchTerm) { if (this.props.searchTerm) {
var lastOffset = 0; var lastOffset = 0;