mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix wrongly changed jQuery data "chid" attribute
This commit is contained in:
@@ -5149,7 +5149,7 @@ jQuery(() => {
|
||||
});
|
||||
|
||||
$('#world_button').on('click', async function (event) {
|
||||
const chid = $('#set_character_world').data('data-chid');
|
||||
const chid = $('#set_character_world').data('chid');
|
||||
|
||||
if (chid) {
|
||||
const worldName = characters[chid]?.data?.extensions?.world;
|
||||
|
Reference in New Issue
Block a user