From 8efe83faff7e5a38e2a81ea94020b214e185ba82 Mon Sep 17 00:00:00 2001 From: gravel Date: Sun, 21 Jan 2024 14:19:39 +0000 Subject: [PATCH] fix: only fetch rest of rooms on index --- output/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/output/main.js b/output/main.js index 8754869..39d1f7e 100644 --- a/output/main.js +++ b/output/main.js @@ -147,6 +147,7 @@ function addInformativeInteractions() { } async function fetchTableRestFragment() { + if (location.pathname != "/") return; const request = await fetch("/_fragment/rest/"); const html = await request.text(); const tableBody = dom.tbl_communities()?.querySelector("tbody")