fix WI open/close buttons + entries start closed

This commit is contained in:
RossAscends
2023-06-16 19:24:24 +09:00
parent b09ea054df
commit 7686ac0b28
2 changed files with 3 additions and 2 deletions

View File

@ -7320,10 +7320,10 @@ $(document).ready(function () {
});
$(document).on('click', '#OpenAllWIEntries', function () {
$("#world_popup_entries_list").children().find('.down').click()
$("#world_popup_entries_list").children().find('.up').click()
});
$(document).on('click', '#CloseAllWIEntries', function () {
$("#world_popup_entries_list").children().find('.up').click()
$("#world_popup_entries_list").children().find('.down').click()
});
$(document).on('click', '.open_alternate_greetings', openAlternateGreetings);

View File

@ -356,6 +356,7 @@ function appendWorldEntry(entry) {
});
template.appendTo("#world_popup_entries_list");
template.find('.inline-drawer-content').css('display', 'none'); //entries start collapsed
return template;
}