diff options
author | 2022-11-06 13:39:39 +0700 | |
---|---|---|
committer | 2022-11-06 13:39:39 +0700 | |
commit | 9126d9e30c64e505238f77c596e74e28e7dac33d (patch) | |
tree | faa9cda33b7349657017dd6506ca4c32c46087b3 | |
parent | 98c62dbba78288c0dc3809ea6421de73c37a0d84 (diff) | |
download | refined-github-9126d9e30c64e505238f77c596e74e28e7dac33d.tar.gz refined-github-9126d9e30c64e505238f77c596e74e28e7dac33d.tar.zst refined-github-9126d9e30c64e505238f77c596e74e28e7dac33d.zip |
Drop incorrect link added by `infinite-scroll` (#6138)
-rw-r--r-- | source/features/infinite-scroll.tsx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/features/infinite-scroll.tsx b/source/features/infinite-scroll.tsx index bd9bf827..8e22eef4 100644 --- a/source/features/infinite-scroll.tsx +++ b/source/features/infinite-scroll.tsx @@ -35,8 +35,7 @@ function init(signal: AbortSignal): void { inView.observe(button); }, {signal}); - // Use cloneNode to keep the original ones for responsive layout - const feedLink = select('.news a.f6')!.cloneNode(true); + // Copy the footer links to the sidebar to make them more accessible. Also keep a copy in the footer. const footer = select('.footer > .d-flex')!.cloneNode(true); for (const child of footer.children) { @@ -45,9 +44,6 @@ function init(signal: AbortSignal): void { select('[aria-label="Explore"]')!.append( <div className="footer"> - <div> - {feedLink} - </div> {footer} </div>, ); |