remove unused code for mediascreen

This commit is contained in:
ogerly 2022-04-25 10:14:58 +02:00
parent f0a142e326
commit b0c6754a53

View File

@ -33,22 +33,6 @@ export default {
toggleable: false,
}
},
watch: {
windowWidth() {
this.toggleable = false
if (this.windowWidth < 1458) this.toggleable = true
},
},
mounted() {
this.$nextTick(() => {
window.addEventListener('resize', this.onResize)
})
},
methods: {
onResize() {
this.windowWidth = window.innerWidth
},
},
}
</script>
<style lang="scss">