From 56a1a61c77ce4ec5c109eed3807fe6bbe0762c14 Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Sun, 26 Nov 2023 05:49:52 -0800 Subject: [PATCH] Remove unused button element retrieval code from web, desktop --- src/interface/desktop/chat.html | 1 - src/khoj/interface/web/chat.html | 1 - 2 files changed, 2 deletions(-) diff --git a/src/interface/desktop/chat.html b/src/interface/desktop/chat.html index 958cb5d9..00192d6f 100644 --- a/src/interface/desktop/chat.html +++ b/src/interface/desktop/chat.html @@ -551,7 +551,6 @@ let mediaRecorder; async function speechToText() { - const speakButton = document.getElementById('speak-button'); const speakButtonImg = document.getElementById('speak-button-img'); const chatInput = document.getElementById('chat-input'); diff --git a/src/khoj/interface/web/chat.html b/src/khoj/interface/web/chat.html index 920cacc4..573915c9 100644 --- a/src/khoj/interface/web/chat.html +++ b/src/khoj/interface/web/chat.html @@ -574,7 +574,6 @@ To get started, just start typing below. You can also type / to see a list of co let mediaRecorder; function speechToText() { - const speakButton = document.getElementById('speak-button'); const speakButtonImg = document.getElementById('speak-button-img'); const chatInput = document.getElementById('chat-input');