missed removeventlistener
This commit is contained in:
parent
6a76d8ace8
commit
9a79539978
1 changed files with 1 additions and 0 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue