aboutsummaryrefslogtreecommitdiffstats
path: root/static/main.js
diff options
context:
space:
mode:
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";
- }
-});