mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
missing event listener remove
This commit is contained in:
parent
5c7bef3107
commit
5f367f7c75
@ -66,6 +66,7 @@ module.exports = {
|
||||
componentWillUnmount: function() {
|
||||
dis.unregister(this.dispatcherRef);
|
||||
document.removeEventListener("keydown", this.onKeyDown);
|
||||
window.removeEventListener("focus", this.onFocus);
|
||||
},
|
||||
|
||||
componentDidUpdate: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user