perf: Disable hide condition on page scroll (#603) @Larsluph

This commit is contained in:
Rémi Marseault 2023-01-14 09:06:08 +01:00 committed by GitHub
parent 26120dcb1c
commit f175a6af65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -294,12 +294,6 @@ export default {
document.addEventListener('dragenter', this.detectDragEnter)
this.$store.state.selectMode = false
window.scrollTo(0, 0)
document.addEventListener(
'scroll',
function () {
this.trcMenu.show = false
}.bind(this)
)
},
created() {
this.$store.dispatch('INIT_INTERVALS')