missed removeventlistener

This commit is contained in:
David Baker 2015-07-17 14:35:33 +01:00
parent 6a76d8ace8
commit 9a79539978

View File

@ -57,6 +57,7 @@ module.exports = {
if (this.refs.messageWrapper) {
var messageWrapper = this.refs.messageWrapper.getDOMNode();
messageWrapper.removeEventListener('drop', this.onDrop);
messageWrapper.removeEventListener('dragover', this.onDragOver);
}
dis.unregister(this.dispatcherRef);
if (MatrixClientPeg.get()) {