mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: fix training_detail page expand
This commit is contained in:
1 parent
d0bea74645
commit
4918f41eac
2 files changed
+2
-2
No files matched your search
@@ -11,7 +11,7 @@ async function handleSection(ev, type: string) {
|
||||
} else {
|
||||
await slideUp($detail, 300, { opacity: 1 }, { opacity: 0 });
|
||||
}
|
||||
$section.addClass(`${type}d`);
|
||||
$section.addClass(type === 'expand' ? 'expanded' : 'collapsed');
|
||||
$section.removeClass(type === 'expand' ? 'collapsed' : 'expanded');
|
||||
$section.removeClass('animating');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user