aboutsummaryrefslogtreecommitdiff
path: root/src/components/chat/chat.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-04-25 13:44:50 +0300
committerHenry Jameson <me@hjkos.com>2021-04-25 13:44:50 +0300
commitcaed89f0ae64217602a2832bbf2b5df9b66c0999 (patch)
tree328c9dc4efa1598ae7aeb5aaf5cae74d57edc51a /src/components/chat/chat.js
parent72956e23436b5fb352652b25707a51be3a823b3d (diff)
destroyed -> unmounted
Diffstat (limited to 'src/components/chat/chat.js')
-rw-r--r--src/components/chat/chat.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/chat/chat.js b/src/components/chat/chat.js
index b54f5fb2..aef11712 100644
--- a/src/components/chat/chat.js
+++ b/src/components/chat/chat.js
@@ -57,7 +57,7 @@ const Chat = {
})
this.setChatLayout()
},
- destroyed () {
+ unmounted () {
window.removeEventListener('scroll', this.handleScroll)
window.removeEventListener('resize', this.handleLayoutChange)
this.unsetChatLayout()