mirror of https://github.com/vector-im/riot-web
missed removeventlistener
parent
6a76d8ace8
commit
9a79539978
|
@ -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 New Issue