website_next: part 9

This commit is contained in:
nym21
2026-07-08 11:24:52 +02:00
parent 15fbdc168f
commit a43b00c12c
48 changed files with 1756 additions and 1042 deletions
+1 -4
View File
@@ -14,11 +14,8 @@ export function createExplorePage() {
const syncChain = () => chain.setActive(!main.hidden && !document.hidden);
main.addEventListener("pageactive", syncChain);
main.addEventListener("pageinactive", syncChain);
document.addEventListener("visibilitychange", syncChain);
new MutationObserver(syncChain).observe(main, {
attributes: true,
attributeFilter: ["hidden"],
});
return main;
}