diff options
| author | kj_sh604 | 2026-02-16 01:42:50 -0500 |
|---|---|---|
| committer | kj_sh604 | 2026-02-16 01:42:50 -0500 |
| commit | afd82dc38510c6a47cfa227f40f1dae76e1a526c (patch) | |
| tree | 6182294363a0599e2b07e5d0675fc1a8ccf5fc01 /static | |
| parent | 94c6fdd12c8352f26df112f1c21592b020bb7c06 (diff) | |
refactor: move to src/
Diffstat (limited to 'static')
| -rw-r--r-- | static/main.js | 15 |
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"; - } -}); |
