mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
fix missing decl
This commit is contained in:
parent
11e176df66
commit
79af89fd1b
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user