fix NPE if messagePanel isn't yet defined

This commit is contained in:
Matthew Hodgson 2015-12-28 02:40:17 +00:00
parent 50ac0ab4cf
commit 424540e57a

View file

@ -358,7 +358,9 @@ module.exports = React.createClass({
// pagination request, so give the messagePanel a chance to set off
// another.
if (this.refs.messagePanel) {
this.refs.messagePanel.checkFillState();
}
},
onSearchResultsFillRequest: function(backwards) {