forked from Mirrors/elk
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', () => {
|
nuxtApp.hook('elk-logo:click', () => {
|
||||||
update()
|
update()
|
||||||
nuxtApp.$scrollToTop()
|
nuxtApp.$trackScroll.forceScrollToTop()
|
||||||
})
|
})
|
||||||
|
|
||||||
function createEntry(item: any) {
|
function createEntry(item: any) {
|
||||||
|
|
Loading…
Reference in a new issue