This commit is contained in:
2026-04-26 01:45:26 +03:00
parent 8fd711f5a1
commit b577c95f7c
4 changed files with 47 additions and 35 deletions

View File

@@ -77,7 +77,7 @@ window.updateClientStatus = function(online) {
el.className = 'conn-badge offline';
}
// Enable/disable the Send button
const btn = document.querySelector('#command-form-wrap .btn-gold');
const btn = document.getElementById('btn-send');
if (btn) {
btn.disabled = !online;
btn.title = online ? '' : 'Script is offline — cannot send commands';