up
This commit is contained in:
+1
-5
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user