Skip to content

Commit

Permalink
chore: remove debug logs
Browse files Browse the repository at this point in the history
忘记删了qwq
  • Loading branch information
Keldos-Li committed Nov 16, 2024
1 parent fb97fd6 commit 3386964
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions web_assets/javascript/chat-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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';
Expand Down

0 comments on commit 3386964

Please sign in to comment.