mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: fix #1130
This commit is contained in:
1 file changed
+1
-1
@@ -9,7 +9,7 @@ function initCollapsibleContent() {
|
||||
const $content = $(this);
|
||||
let $inner = $content.find('.collapsible-content__inner');
|
||||
if ($inner.length) return;
|
||||
const $children = $content.children().detach();
|
||||
const $children = $content.contents().detach();
|
||||
$inner = $('<div class="collapsible-content__inner"></div>');
|
||||
$inner.append($children);
|
||||
$content.append($inner);
|
||||
|
||||
Reference in new issue
Block a user