Call expression module worker when switching chats

This commit is contained in:
Cohee 2023-10-23 01:56:27 +03:00
parent f9ae7ea949
commit 63b34d9851
1 changed files with 2 additions and 0 deletions

View File

@ -1498,6 +1498,8 @@ function setExpressionOverrideHtml(forceClear = false) {
if (isVisualNovelMode()) {
$('#visual-novel-wrapper').empty();
}
updateFunction();
});
eventSource.on(event_types.MOVABLE_PANELS_RESET, updateVisualNovelModeDebounced);
eventSource.on(event_types.GROUP_UPDATED, updateVisualNovelModeDebounced);