Add delay for drawer animation when open drawers exist
| @@ -10336,6 +10336,9 @@ export async function doNavbarIconClick() { | ||
| 10336 | 10336 | for (const el of $openDrawers) { |
| 10337 | 10337 | $(el).toggleClass('closedDrawer openDrawer'); |
| 10338 | 10338 | } |
| 10339 | + if ($openDrawers.length) { | |
| 10340 | + await delay(animation_duration); | |
| 10341 | + } | |
| 10339 | 10342 | icon.toggleClass('openIcon closedIcon'); |
| 10340 | 10343 | drawer.toggleClass('openDrawer closedDrawer'); |
| 10341 | 10344 | |