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