missed removeventlistener

pull/1/head
David Baker 2015-07-17 14:35:33 +01:00
parent 6a76d8ace8
commit 9a79539978
1 changed files with 1 additions and 0 deletions

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()) {