mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-18 02:39:47 +00:00
Removed redundant code from previous PR
This commit is contained in:
parent
42d63d99a8
commit
8c0b7441b7
@ -158,7 +158,7 @@ function populate_discussions_list()
|
||||
discussionButton.textContent = discussion.title;
|
||||
discussionButton.title = "Open discussion";
|
||||
|
||||
//WIP, NOT DONE
|
||||
//Indicates currently selected (Active) discussion
|
||||
discussionButton.addEventListener('click', () => {
|
||||
console.log(`Showing messages for discussion ${discussion.id}`);
|
||||
load_discussion(discussion);
|
||||
@ -175,11 +175,7 @@ function populate_discussions_list()
|
||||
|
||||
btnElList.forEach(btnEl => {
|
||||
btnEl.addEventListener('click', () => {
|
||||
console.log('Total: ' + btnElList.length + ' discussions');
|
||||
|
||||
btnEl.querySelector('activeDiscussion')?.classList.remove('activeDiscussion');
|
||||
|
||||
console.log('hm idk');
|
||||
});
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user