mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
fix: generalized pjax container
This commit is contained in:
parent
73fea83d20
commit
1a7eae91c0
1 changed files with 6 additions and 1 deletions
|
|
@ -122,7 +122,12 @@ export function scrollToRepoContent() {
|
|||
|
||||
const pjax = new PJAX({
|
||||
elements: '',
|
||||
selectors: ['.repository-content', 'title', '[data-pjax="#js-repo-pjax-container"]'],
|
||||
selectors: [
|
||||
'.repository-content',
|
||||
'title',
|
||||
'[data-pjax="#js-repo-pjax-container"]',
|
||||
'[data-pjax-container]',
|
||||
],
|
||||
scrollTo: false,
|
||||
analytics: false,
|
||||
cacheBust: false,
|
||||
|
|
|
|||
Loading…
Reference in a new issue