mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fix WI open/close buttons + entries start closed
This commit is contained in:
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user