Skip to content

Commit

Permalink
archive-fork-links - Restore feature (#7337)
Browse files Browse the repository at this point in the history
  • Loading branch information
kovsu committed May 13, 2024
1 parent 577cebf commit 0cae6f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/features/archive-forks-link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function addLinkToBanner(banner: HTMLElement): void {
}

function init(signal: AbortSignal): void {
observe('#js-repo-pjax-container > .flash-warn:first-child', addLinkToBanner, {signal});
observe('#js-repo-pjax-container > .flash-warn:first-of-type', addLinkToBanner, {signal});
}

void features.add(import.meta.url, {
Expand Down

0 comments on commit 0cae6f8

Please sign in to comment.