mirror of
https://github.com/mattjaybe/SillyTavern-EchoChamber.git
synced 2026-04-28 03:20:39 +00:00
Fix trash icon button click handler
This commit is contained in:
parent
4f8aaefaec
commit
80e8431fd4
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -1744,7 +1744,7 @@ username: message
|
|||
btn.find('i').addClass('fa-spin');
|
||||
setTimeout(() => btn.find('i').removeClass('fa-spin'), 1000);
|
||||
generateDebounced();
|
||||
} else if (btn.find('.fa-xmark').length) {
|
||||
} else if (btn.find('.fa-trash-can').length) {
|
||||
// Clear button clicked
|
||||
if (confirm('Clear generated chat and all cached commentary?')) {
|
||||
setDiscordText('');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue