Fix wrongly changed jQuery data "chid" attribute

This commit is contained in:
Wolfsblvt
2025-01-25 03:33:53 +01:00
parent 608e1c195b
commit e1bf781b10

View File

@@ -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;