mirror of
https://github.com/mattjaybe/SillyTavern-EchoChamber.git
synced 2026-04-28 03:20:39 +00:00
v5.0.3 - Fix for Name bug in Chat Participation
This commit is contained in:
parent
7c555e1d0d
commit
e0ff273eed
2 changed files with 3 additions and 3 deletions
4
index.js
4
index.js
|
|
@ -3559,7 +3559,7 @@ username: message
|
|||
|
||||
// Helper: sync a settings-panel element after modal change
|
||||
function syncToPanel(panelId, value, isProp = false) {
|
||||
const el = jQuery(`#${panelId} `);
|
||||
const el = jQuery(`#${panelId}`);
|
||||
if (!el.length) return;
|
||||
if (isProp) el.prop('checked', value).trigger('change');
|
||||
else el.val(value).trigger('change');
|
||||
|
|
@ -3732,7 +3732,7 @@ username: message
|
|||
const mode = s.livestreamMode || 'manual';
|
||||
modal.find(`input[name = "ecm_livestream_mode"][value = "${mode}"]`).prop('checked', true);
|
||||
modal.find('#ecm_chat_enabled').prop('checked', s.chatEnabled !== false);
|
||||
modal.find('#ecm_chat_username').val(s.chatUsername);
|
||||
modal.find('#ecm_chat_username').val(s.chatUsername || 'Streamer (You)');
|
||||
modal.find('#ecm_chat_avatar_color').val(s.chatAvatarColor || '#3b82f6');
|
||||
modal.find('#ecm_chat_reply_count').val(s.chatReplyCount || 3);
|
||||
modal.find('#ecm_ollama_settings').toggle(s.source === 'ollama');
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
"js": "index.js",
|
||||
"css": "style.css",
|
||||
"author": "mattjaybe",
|
||||
"version": "5.0.2",
|
||||
"version": "5.0.3",
|
||||
"homePage": "https://github.com/mattjaybe/SillyTavern-EchoChamber",
|
||||
"auto_update": true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue