mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
feat: scroll to top when load Initiatively
This commit is contained in:
parent
0d5cdaf84c
commit
f22eb6ea45
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ const pjax = new PJAX({
|
|||
|
||||
function loadWithPJAX(URL) {
|
||||
NProgress.start()
|
||||
pjax.loadUrl(URL)
|
||||
pjax.loadUrl(URL, { scrollTo: 0 })
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue