mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix event typing
This commit is contained in:
@@ -2065,7 +2065,7 @@ jQuery(() => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
$('#world_info_character_strategy').on('change', function () {
|
$('#world_info_character_strategy').on('change', function () {
|
||||||
world_info_character_strategy = $(this).val();
|
world_info_character_strategy = Number($(this).val());
|
||||||
saveSettings();
|
saveSettings();
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -2080,7 +2080,7 @@ jQuery(() => {
|
|||||||
saveSettings();
|
saveSettings();
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#world_button').on('click', async function () {
|
$('#world_button').on('click', async function (event) {
|
||||||
const chid = $('#set_character_world').data('chid');
|
const chid = $('#set_character_world').data('chid');
|
||||||
|
|
||||||
if (chid) {
|
if (chid) {
|
||||||
|
Reference in New Issue
Block a user