summaryrefslogtreecommitdiff
path: root/static/script.js
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-08-28 07:07:00 +0200
committerMartin Fischer <martin@push-f.com>2025-08-28 07:11:02 +0200
commit3c9cf51274996427e7130a096e73c68d40edec90 (patch)
treefbb3b1845f3aff5da393e5c71630fe9395630777 /static/script.js
parent0107738c361b5b74f3193881b7935f2e316d21c8 (diff)
feat: include current timestamp in generated proposals.json
Diffstat (limited to 'static/script.js')
-rw-r--r--static/script.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/script.js b/static/script.js
index 35aa43e..20fb377 100644
--- a/static/script.js
+++ b/static/script.js
@@ -93,7 +93,7 @@ function debounce(callback, wait) {
}
(async function() {
- const proposals = await (await fetch('proposals.json')).json();
+ const { proposals } = await (await fetch('proposals.json')).json();
const params = new URLSearchParams(location.search);
nameInput.value = params.get('q');