diff options
author | 2022-11-03 23:19:32 +0700 | |
---|---|---|
committer | 2022-11-03 23:19:32 +0700 | |
commit | 7f18a3033cd1ea97f7ced1b43c74febdcb938027 (patch) | |
tree | 33e982307275ec1dde0f768b2817b168e89f7290 /source/features/patch-diff-links.tsx | |
parent | f047968c528abadbe12a8c872c61ed33b514fc9f (diff) | |
download | refined-github-7f18a3033cd1ea97f7ced1b43c74febdcb938027.tar.gz refined-github-7f18a3033cd1ea97f7ced1b43c74febdcb938027.tar.zst refined-github-7f18a3033cd1ea97f7ced1b43c74febdcb938027.zip |
Drop outdated references to PJAX (#6081)
Diffstat (limited to 'source/features/patch-diff-links.tsx')
-rw-r--r-- | source/features/patch-diff-links.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/features/patch-diff-links.tsx b/source/features/patch-diff-links.tsx index b33b1833..e0dce047 100644 --- a/source/features/patch-diff-links.tsx +++ b/source/features/patch-diff-links.tsx @@ -14,10 +14,10 @@ function init(): void { } select('.commit-meta > :last-child')!.append( - <span className="sha-block"> - <a data-skip-pjax href={`${commitUrl}.patch`} className="sha">patch</a> - { ' ' /* Workaround for: JSX eats whitespace between elements */ } - <a data-skip-pjax href={`${commitUrl}.diff`} className="sha">diff</a> + <span className="sha-block" data-turbo="false"> + <a href={`${commitUrl}.patch`} className="sha">patch</a> + {' '} + <a href={`${commitUrl}.diff`} className="sha">diff</a> </span>, ); } |