mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-24 15:16:07 +09:00
remove unused event listener
This commit is contained in:
parent
41f8cda7e4
commit
bf0ff1e451
@ -46,7 +46,6 @@ export default Vue.extend({
|
||||
mounted() {
|
||||
this.size();
|
||||
window.addEventListener('resize', this.size);
|
||||
this.$on('resize', this.size);
|
||||
},
|
||||
beforeDestroy() {
|
||||
window.removeEventListener('resize', this.size);
|
||||
|
Loading…
Reference in New Issue
Block a user