aboutsummaryrefslogtreecommitdiffstats
path: root/static/main.js
diff options
context:
space:
mode:
authorkj_sh6042026-02-16 01:42:50 -0500
committerkj_sh6042026-02-16 01:42:50 -0500
commitafd82dc38510c6a47cfa227f40f1dae76e1a526c (patch)
tree6182294363a0599e2b07e5d0675fc1a8ccf5fc01 /static/main.js
parent94c6fdd12c8352f26df112f1c21592b020bb7c06 (diff)
refactor: move to src/
Diffstat (limited to 'static/main.js')
-rw-r--r--static/main.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/static/main.js b/static/main.js
deleted file mode 100644
index f280d99..0000000
--- a/static/main.js
+++ /dev/null
@@ -1,15 +0,0 @@
-const convertButton = document.getElementById("convert-button");
-
-document.body.addEventListener("htmx:beforeRequest", () => {
- if (convertButton) {
- convertButton.disabled = true;
- convertButton.textContent = "generating...";
- }
-});
-
-document.body.addEventListener("htmx:afterRequest", () => {
- if (convertButton) {
- convertButton.disabled = false;
- convertButton.textContent = "generate pdf";
- }
-});