mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 02:33:08 +02:00
remove unused event listener
This commit is contained in:
parent
f799375635
commit
cb3900921f
1 changed files with 0 additions and 1 deletions
|
@ -46,7 +46,6 @@ export default Vue.extend({
|
||||||
mounted() {
|
mounted() {
|
||||||
this.size();
|
this.size();
|
||||||
window.addEventListener('resize', this.size);
|
window.addEventListener('resize', this.size);
|
||||||
this.$on('resize', this.size);
|
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
window.removeEventListener('resize', this.size);
|
window.removeEventListener('resize', this.size);
|
||||||
|
|
Loading…
Reference in a new issue