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