mirror of
https://github.com/elk-zone/elk.git
synced 2025-02-03 17:10:52 +03:00
chore: use forceScrollToTop on click hook
This commit is contained in:
parent
1241921435
commit
26883d6d19
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ const { items, prevItems, update, state, endAnchor, error } = usePaginator(pagin
|
|||
|
||||
nuxtApp.hook('elk-logo:click', () => {
|
||||
update()
|
||||
nuxtApp.$scrollToTop()
|
||||
nuxtApp.$trackScroll.forceScrollToTop()
|
||||
})
|
||||
|
||||
function createEntry(item: any) {
|
||||
|
|
Loading…
Add table
Reference in a new issue