Skip to content

Commit

Permalink
hide and seek
Browse files Browse the repository at this point in the history
  • Loading branch information
martrapp committed Nov 14, 2024
1 parent cc5b1c0 commit 50d27a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/tips/hide-and-seek/solution.astro
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ import "./_solution_styles.css";
.querySelector("#other > div:nth-of-type(2)")
.replaceWith(document.querySelector("#other > div").cloneNode(true));
const twin = document.querySelector("#other > div:nth-of-type(2) ul");
document.querySelector("#other > div:nth-of-type(2) .button-link")?.remove();
twin.id = "";
twin.scrollTop = scrollInfo.scrollTop;
const x = twin.querySelectorAll("li");
Expand Down Expand Up @@ -115,7 +116,7 @@ import "./_solution_styles.css";
introduced to make things simple. This wasn't. Give us nested groups,
please! ;-)<br />[<a href="/tips/hide-and-seek/#playing-hide--seek"
>Back to the Hide and Seek page</a
>] <Bsky/>
>] <Bsky />
</p>
</div>
<div id="d2"></div>
Expand Down

0 comments on commit 50d27a9

Please sign in to comment.