Code tidy up

pull/2110/head
wmwragg 2016-09-04 08:40:43 +01:00
parent 7ae821e2b5
commit fd81ce126b
1 changed files with 1 additions and 2 deletions

View File

@ -18,7 +18,6 @@ limitations under the License.
var React = require('react'); var React = require('react');
var ReactDOM = require('react-dom'); var ReactDOM = require('react-dom');
var dis = require('matrix-react-sdk/lib/dispatcher'); var dis = require('matrix-react-sdk/lib/dispatcher');
module.exports = React.createClass({ module.exports = React.createClass({
@ -88,7 +87,7 @@ module.exports = React.createClass({
// Render the tooltip manually, as we wish it not to be rendered within the parent // Render the tooltip manually, as we wish it not to be rendered within the parent
this.tooltip = ReactDOM.render(tooltip, this.tooltipContainer); this.tooltip = ReactDOM.render(tooltip, this.tooltipContainer);
// tell the roomlist about us so it can manipulate us if it wishes // Tell the roomlist about us so it can manipulate us if it wishes
dis.dispatch({ dis.dispatch({
action: 'view_tooltip', action: 'view_tooltip',
tooltip: this.tooltip, tooltip: this.tooltip,