fix: restore prominent realtime Talk navigation
This commit is contained in:
1 parent
3752741e19
commit
7cb641b35a
4 files changed
+31
-2
No files matched your search
+2
-1
@@ -39,7 +39,8 @@
|
||||
function adapt() { if (mobile.matches) $('conversationActions').setAttribute('popover', 'auto'); else {$('conversationActions').removeAttribute('popover');}
|
||||
$('chatSidebar').inert = mobile.matches && !$('chatSidebar').classList.contains('drawer-open'); if (!mobile.matches) { $('primaryChat').inert = false; $('legacyVoice').inert = false; $('drawerBackdrop').hidden = true; } }
|
||||
mobile.addEventListener('change', adapt); adapt();
|
||||
$('openVoice').onclick = () => { $('primaryChat').hidden = true; $('legacyVoice').hidden = false; if (mobile.matches) drawer(false); $('backToChat').focus(); };
|
||||
function showVoice() { $('primaryChat').hidden = true; $('legacyVoice').hidden = false; if (mobile.matches) drawer(false); $('voiceModeBtn').click(); $('startBtn').focus(); }
|
||||
$('openVoice').onclick = showVoice; $('talkToHope').onclick = showVoice;
|
||||
$('backToChat').onclick = () => { $('primaryChat').hidden = false; $('legacyVoice').hidden = true; $('primaryInput').focus(); };
|
||||
// Markdown uses DOM text nodes only: HTML is always literal; unsafe URLs never become links.
|
||||
function inline(parent, text) {
|
||||
|
||||
Reference in new issue
Block a user