Better character tokens counting

This commit is contained in:
SillyLossy
2023-04-26 01:19:36 +03:00
parent 8f29e98cba
commit 1c4f1ea96c
2 changed files with 51 additions and 38 deletions

View File

@ -595,6 +595,10 @@ $(document).ready(() => {
const value = $(this).find(':selected').val();
power_user.tokenizer = Number(value);
saveSettingsDebounced();
// Trigger character editor re-tokenize
$("#rm_ch_create_block").trigger('input');
$("#character_popup").trigger('input');
});
$(window).on('focus', function () {