fix WI panel display on autoimport char lorebooks.

This commit is contained in:
RossAscends 2023-10-08 23:04:53 +09:00
parent 19acc05516
commit 1c095415a4
1 changed files with 3 additions and 0 deletions

View File

@ -1759,6 +1759,9 @@ export async function importEmbeddedWorldInfo(skipPopup = false) {
const newIndex = world_names.indexOf(bookName);
if (newIndex >= 0) {
//show&draw the WI panel before..
$("#WIDrawerIcon").trigger('click');
//..auto-opening the new imported WI
$("#world_editor_select").val(newIndex).trigger('change');
}