fix 3
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user