Skip to content
Snippets Groups Projects
Commit cb390092 authored by tamaina's avatar tamaina
Browse files

remove unused event listener

parent f7993756
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment