mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
remove unused code for mediascreen
This commit is contained in:
parent
f0a142e326
commit
b0c6754a53
@ -33,22 +33,6 @@ export default {
|
|||||||
toggleable: false,
|
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>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user