summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/features/infinite-scroll.tsx6
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>,
);