From 98b24a53892d0d007b7e68dab028eada53a86c99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD=20=D0=A2=D1=80=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Sun, 9 Aug 2026 23:40:40 +0300 Subject: [PATCH] hide OK button on SELECT ITEM view, show only on DISPLAY TEXT --- index.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 2dc3fad..2e98088 100644 --- a/index.html +++ b/index.html @@ -935,9 +935,9 @@
@@ -2854,6 +2854,7 @@ function stkMenuHandleResponse(data) { if (data.type === 'display_text') { content.innerHTML = '
' + esc(data.text) + '
'; backBtn.style.display = ''; + document.getElementById('stk-ok-btn').style.display = ''; btns.classList.remove('hidden'); } else if (data.type === 'select_item') { stkMenuStack.push(data.items); @@ -2866,6 +2867,7 @@ function stkMenuHandleResponse(data) { html += ''; content.innerHTML = html; backBtn.style.display = ''; + document.getElementById('stk-ok-btn').style.display = 'none'; btns.classList.remove('hidden'); } else { content.innerHTML = 'SW: ' + esc(data.sw || '?') + '';