Skip to content

Commit

Permalink
hide & seek update
Browse files Browse the repository at this point in the history
  • Loading branch information
martrapp committed Nov 19, 2024
1 parent 29ffa03 commit 4e92a90
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 24 deletions.
40 changes: 20 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
},
"devDependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/starlight": "^0.29.0",
"@astrojs/starlight": "^0.29.2",
"@inox-tools/portal-gun": "^0.1.1",
"@playwright/test": "^1.48.2",
"@types/node": "^22.9.0",
"@playwright/test": "^1.49.0",
"@types/node": "^22.9.1",
"@vtbag/cam-shaft": "^1.0.1",
"@vtbag/element-crossing": "^1.0.3",
"@vtbag/inspection-chamber": "^1.0.17",
Expand Down
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 @@ -48,9 +48,10 @@ import Bsky from "../../../components/Bsky.astro";
// Fallback for browsers that don't support view transitions
addEventListener("DOMContentLoaded", () => {
if ("onpagereveal" in window) return;
const itemList = document.querySelector("ul.cyber-list");
const itemList = document.querySelector("ul");
itemList.innerHTML = createList(shuffleArray(cyberItems));
restoreScrollPositions(itemList);
setListener();
});

function restoreScrollPositions(itemList) {
Expand Down

0 comments on commit 4e92a90

Please sign in to comment.