Navbar: Do not wait for animation duration if it's zero

6217ea988879e53e19cc487802ad79a38dd7601d

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

1 files changed, +1 -1Ignore whitespace
public/script.js+1 -1
@@ -9270,7 +9270,7 @@ export async function doNavbarIconClick() {
92709270 for (const el of $openDrawers) {
92719271 $(el).toggleClass('closedDrawer openDrawer');
92729272 }
92739273 if ($openDrawers.length && animation_duration) {
92749274 await delay(animation_duration);
92759275 }
92769276 icon.toggleClass('openIcon closedIcon');