File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -245,7 +245,9 @@ const BACKEND_ROUTE = 'api/routes/chat/';
245245const chat = document . getElementById ( 'chat' ) ;
246246const input = document . getElementById ( 'message-input' ) ;
247247const sendBtn = document . getElementById ( 'send-btn' ) ;
248- const readOutLoudBtn = document . getElementById ( 'read-out-loud-btn' ) ;
248+ //const readOutLoudBtn = document.getElementById('read-out-loud-btn');
249+ const readOutLoudBtn = document . querySelector ( '.read-out-loud-btn' ) ;
250+
249251
250252const voiceSpinner = document . getElementById ( "voiceSpinner" ) ;
251253
@@ -327,7 +329,7 @@ window.onload = function() {
327329// Event listeners
328330///////////////////////////////////////////////////
329331
330- sendBtn . addEventListener ( ' click' , handleSend ) ;
332+ sendBtn . addEventListener ( " click" , handleSend ) ;
331333
332334input . addEventListener ( 'keypress' , function ( e ) {
333335 if ( e . key === 'Enter' && ! e . shiftKey ) {
You can’t perform that action at this time.
0 commit comments