destroyed -> unmounted
This commit is contained in:
parent
72956e2343
commit
caed89f0ae
12 changed files with 12 additions and 12 deletions
|
@ -98,7 +98,7 @@ const MediaModal = {
|
|||
document.addEventListener('keyup', this.handleKeyupEvent)
|
||||
document.addEventListener('keydown', this.handleKeydownEvent)
|
||||
},
|
||||
destroyed () {
|
||||
unmounted () {
|
||||
window.removeEventListener('popstate', this.hide)
|
||||
document.removeEventListener('keyup', this.handleKeyupEvent)
|
||||
document.removeEventListener('keydown', this.handleKeydownEvent)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue