From e289eec8dddbfbcb4a1cb70a2b1aa8e633d1afbd Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 5 Oct 2022 16:25:15 +0200 Subject: [PATCH] feat: browse button uses smooth scroll --- src/components/SkillPicker.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/SkillPicker.vue b/src/components/SkillPicker.vue index 7481105..0bb8316 100644 --- a/src/components/SkillPicker.vue +++ b/src/components/SkillPicker.vue @@ -171,10 +171,7 @@ } protected browse(){ - const el = document.querySelector('#timeline'); - if( el != null ){ - el.scrollIntoView(); - } + go(`search-header`, 0); } }