Skip to content

Commit 0d4d857

Browse files
puikinshKneemundclaude
committed
fix(js): early return from slideDown/slideUp when duration < 1 (#5964)
When duration is zero, setTimeout ordering is unreliable (especially in Firefox), causing style cleanup to fail. Skip animation entirely for zero-duration calls, fixing treeview instant-open on page load. Based on PR #5964 by @Kneemund. Co-Authored-By: Moritz Mechelk <moritzmechelk@gmail.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d4ee248 commit 0d4d857

5 files changed

Lines changed: 20 additions & 3 deletions

File tree

dist/js/adminlte.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/adminlte.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/adminlte.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)