You can't just use React classes as normal static classes :(

This commit is contained in:
David Baker 2015-08-14 15:24:34 +01:00
parent e1efb165fd
commit c5e33352b0
5 changed files with 28 additions and 29 deletions

View file

@ -179,9 +179,10 @@ module.exports = {
messageWrapper.addEventListener('dragleave', this.onDragLeaveOrEnd);
messageWrapper.addEventListener('dragend', this.onDragLeaveOrEnd);
messageWrapper.scrollTop = messageWrapper.scrollHeight;
//messageWrapper.scrollTop = messageWrapper.scrollHeight;
this.fillSpace();
setTimeout(this.fillSpace, 50);
//this.fillSpace();
}
},