From 33869648f2a97759ec48cac475f7bc890b10e981 Mon Sep 17 00:00:00 2001 From: Keldos Date: Sat, 16 Nov 2024 14:20:15 +0800 Subject: [PATCH] chore: remove debug logs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 忘记删了qwq --- web_assets/javascript/chat-list.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/web_assets/javascript/chat-list.js b/web_assets/javascript/chat-list.js index 3da93f6d..52d86f8e 100644 --- a/web_assets/javascript/chat-list.js +++ b/web_assets/javascript/chat-list.js @@ -53,7 +53,6 @@ function setChatList() { function disableChatListClick() { var chatList = gradioApp().querySelector('fieldset#history-select-dropdown'); if (chatList.querySelector('label').style.pointerEvents !== 'none' && !isChatListRecentlyEnabled) { - console.log("disableChatListClick"); chatList.querySelectorAll('label').forEach(label => { label.style.transition = 'opacity 0.1s ease'; label.style.pointerEvents = 'none'; @@ -64,7 +63,6 @@ function disableChatListClick() { function enableChatListClick() { var chatList = gradioApp().querySelector('fieldset#history-select-dropdown'); if (chatList.querySelector('label').style.pointerEvents !== 'auto') { - console.log("enableChatListClick"); chatList.querySelectorAll('label').forEach(label => { label.style.transition = 'opacity 0.2s ease'; label.style.pointerEvents = 'auto';