From 6516e6caf4850641f06e3640043b22493fd2372e Mon Sep 17 00:00:00 2001 From: zbyv Date: Mon, 23 Mar 2026 21:22:37 +0100 Subject: [PATCH] Disable 0k button until downloaded --- shell.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/shell.html b/shell.html index 4ce807e..bd49c0b 100644 --- a/shell.html +++ b/shell.html @@ -60,7 +60,7 @@ kam
- + @@ -75,6 +75,9 @@ })(), onRuntimeInitialized: function() { inited = true; + const okbut = document.getElementById("okbut"); + okbut.value = "0k"; + okbut.disabled = false; } }; @@ -130,6 +133,7 @@ } loadConfig(); + document.getElementById("okbut").disabled = true; {{{ SCRIPT }}}