This commit is contained in:
Lizandro Guarnizo
2026-01-24 01:09:00 -05:00
parent 0f93f31d78
commit 7da2a0e46f
2 changed files with 74 additions and 5 deletions
+1 -5
View File
@@ -1221,6 +1221,7 @@
typeSelect.addEventListener('change', (e) => {
const tplContainer = document.getElementById('templateSelectContainer');
tplContainer.style.display = (e.target.value === 'template') ? 'inline-block' : 'none';
if (typeof updateSendMicVisibility === 'function') updateSendMicVisibility();
});
}
@@ -1289,11 +1290,6 @@
// Expose small helper to other methods
this._updateSendMicVisibility = updateSendMicVisibility;
const tplContainer = document.getElementById('templateSelectContainer');
tplContainer.style.display = (e.target.value === 'template') ? 'inline-block' : 'none';
updateSendMicVisibility();
});
}
// File input selected -> show send button
const fileInput = document.getElementById('file-input');