commit 56217c2e4ee7e99093d202b31b2289994aa3f07b
parent b24cef1caa84ab4ded1a8e7830b3aa14b396626f
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date: Sun, 10 Mar 2024 22:47:57 -0700
Rename main.js to counter.js
Diffstat:
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/pages/main.c b/pages/main.c
@@ -85,7 +85,7 @@ printhours(struct pagedata *pd, time_t *times, int len)
(status = htmlwithin(pd, KELEM_BUTTON, "Reload")) != KCGI_OK ||
(status = khtml_closeelem(&pd->html, 2)) != KCGI_OK ||
(status = khtml_attr(&pd->html, KELEM_SCRIPT,
- KATTR_SRC, "scripts/main.js", KATTR__MAX)) != KCGI_OK)
+ KATTR_SRC, "scripts/counter.js", KATTR__MAX)) != KCGI_OK)
return status;
}
diff --git a/scripts/main.js b/scripts/counter.js