From 9a79539978e4c69627a01a064b8bba45a1649ac3 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 17 Jul 2015 14:35:33 +0100 Subject: [PATCH] missed removeventlistener --- src/controllers/organisms/RoomView.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/organisms/RoomView.js b/src/controllers/organisms/RoomView.js index 339ed6fc..89ce4f5f 100644 --- a/src/controllers/organisms/RoomView.js +++ b/src/controllers/organisms/RoomView.js @@ -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()) {