ui: optional ul element after select input

pull/379/head
panda 2 years ago committed by GitHub
parent d8a45d5323
commit 9870703581
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;
}

Loading…
Cancel
Save