mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: avoid wrong transform
This commit is contained in:
1 parent
af3294f30c
commit
061698a548
1 file changed
+4
@@ -193,6 +193,10 @@ const page = new NamedPage(['problem_detail', 'contest_detail_problem', 'homewor
|
|||||||
</div>
|
</div>
|
||||||
`));
|
`));
|
||||||
} else {
|
} else {
|
||||||
|
if ($(e).next()[0].tagName !== 'UL') {
|
||||||
|
cnt--;
|
||||||
|
return;
|
||||||
|
}
|
||||||
$(e).html($(e).html().replace(info, ''));
|
$(e).html($(e).html().replace(info, ''));
|
||||||
$(e).next('ul').children().each((j, ele) => {
|
$(e).next('ul').children().each((j, ele) => {
|
||||||
$(ele).after(`
|
$(ele).after(`
|
||||||
|
|||||||
Reference in new issue
Block a user