mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +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>
|
||||
`));
|
||||
} else {
|
||||
if ($(e).next()[0].tagName !== 'UL') {
|
||||
cnt--;
|
||||
return;
|
||||
}
|
||||
$(e).html($(e).html().replace(info, ''));
|
||||
$(e).next('ul').children().each((j, ele) => {
|
||||
$(ele).after(`
|
||||
|
||||
Reference in new issue
Block a user