From cc0d1d9892f0644e450943cfc15171652f042dfa Mon Sep 17 00:00:00 2001 From: dwrz Date: Mon, 6 Jul 2026 16:06:48 +0000 Subject: [PATCH] Fix stop generation button --- internal/service/static/main.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/internal/service/static/main.js b/internal/service/static/main.js index 440f176..76b61b9 100644 --- a/internal/service/static/main.js +++ b/internal/service/static/main.js @@ -1031,6 +1031,14 @@ class Odidere { this.isStopPending = false; this.$send.classList.remove('pending'); } + // While loading, the send button acts as the stop control and must stay + // clickable regardless of the normal enable/disable logic. When loading + // ends, restore the standard state. + if (loading) { + this.$send.disabled = false; + } else { + this.updateSendButtonState(); + } if (loading) { this.wakeLock.acquire(); } else {