From 18e4f226869f70ecdcc8ed1aef42686c6ee32cd4 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Sat, 7 Oct 2023 18:48:09 +0300 Subject: [PATCH] Enable scroll --- components/doc/DocSectionNav.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/doc/DocSectionNav.vue b/components/doc/DocSectionNav.vue index c04b052d9..2683171f3 100644 --- a/components/doc/DocSectionNav.vue +++ b/components/doc/DocSectionNav.vue @@ -39,9 +39,9 @@ export default { } }, mounted() { - //this.scrollCurrentUrl(); + this.scrollCurrentUrl(); - //window.addEventListener('scroll', this.onScroll, { passive: true }); + window.addEventListener('scroll', this.onScroll, { passive: true }); }, beforeUnmount() { window.removeEventListener('scroll', this.onScroll, { passive: true });