From f88d7c0575fbb28b6bbbbbb2690102422de430c3 Mon Sep 17 00:00:00 2001 From: EnixCoda Date: Wed, 22 Dec 2021 14:32:40 +0800 Subject: [PATCH] fix: extend native PJAX compatibility --- src/platforms/GitHub/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/GitHub/index.ts b/src/platforms/GitHub/index.ts index 42483c0..dab3215 100644 --- a/src/platforms/GitHub/index.ts +++ b/src/platforms/GitHub/index.ts @@ -200,7 +200,7 @@ export const GitHub: Platform = { delegatePJAXProps(options) { if (!options?.node || options.node.type === 'blob') return { - 'data-pjax': '#repo-content-pjax-container', + 'data-pjax': '#repo-content-pjax-container, #js-repo-pjax-container', onClick() { /* Overwriting default onClick */ },