Fix event typing

This commit is contained in:
Cohee 2023-10-17 13:55:02 +03:00
parent 81f1bfd23f
commit 77f0fe5b80
1 changed files with 2 additions and 2 deletions

View File

@ -2065,7 +2065,7 @@ jQuery(() => {
});
$('#world_info_character_strategy').on('change', function () {
world_info_character_strategy = $(this).val();
world_info_character_strategy = Number($(this).val());
saveSettings();
});
@ -2080,7 +2080,7 @@ jQuery(() => {
saveSettings();
});
$('#world_button').on('click', async function () {
$('#world_button').on('click', async function (event) {
const chid = $('#set_character_world').data('chid');
if (chid) {