Add delay to mass WI drawer toggle

2205d5b2f1eac6f3abb94011df1b911ba8d31172

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Ignore whitespace
public/script.js+1 -1
@@ -12147,7 +12147,7 @@ jQuery(async function () {
12147 if (!(e.target instanceof HTMLElement)) return;12147 if (!(e.target instanceof HTMLElement)) return;
12148 if (e.target.matches('#OpenAllWIEntries')) {12148 if (e.target.matches('#OpenAllWIEntries')) {
12149 document.querySelectorAll('#world_popup_entries_list .inline-drawer').forEach((/** @type {HTMLElement} */ drawer) => {12149 document.querySelectorAll('#world_popup_entries_list .inline-drawer').forEach((/** @type {HTMLElement} */ drawer) => {
12150 toggleDrawer(drawer, true);12150 delay(0).then(() => toggleDrawer(drawer, true));
12151 });12151 });
12152 } else if (e.target.matches('#CloseAllWIEntries')) {12152 } else if (e.target.matches('#CloseAllWIEntries')) {
12153 document.querySelectorAll('#world_popup_entries_list .inline-drawer').forEach((/** @type {HTMLElement} */ drawer) => {12153 document.querySelectorAll('#world_popup_entries_list .inline-drawer').forEach((/** @type {HTMLElement} */ drawer) => {