mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
ui: optional ul element after select input
This commit is contained in:
1 parent
d8a45d5323
commit
9870703581
2 files changed
+2
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.38.1",
|
||||
"version": "4.38.2",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "hydro.js",
|
||||
|
||||
@@ -195,7 +195,7 @@ const page = new NamedPage(['problem_detail', 'contest_detail_problem', 'homewor
|
||||
</div>
|
||||
`));
|
||||
} else {
|
||||
if ($(e).next()[0].tagName !== 'UL') {
|
||||
if ($(e).next()[0]?.tagName !== 'UL') {
|
||||
cnt--;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user