mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: fix problem_submit.page
This commit is contained in:
1 parent
437bfc5e6e
commit
41110dde90
2 files changed
+3
-3
No files matched your search
@@ -21,10 +21,10 @@ const page = new NamedPage(['problem_submit', 'contest_detail_problem_submit'],
|
||||
if (Object.keys(options).length > 1) {
|
||||
setOptions($('#codelang-sub-select'), options);
|
||||
$('#codelang-sub-container').show();
|
||||
$('[name="codeLang"]').val($('#codelang-sub-select').val());
|
||||
$('[name="lang"]').val($('#codelang-sub-select').val());
|
||||
} else {
|
||||
$('#codelang-sub-container').hide();
|
||||
$('[name="codeLang"]').val(this.value);
|
||||
$('[name="lang"]').val(this.value);
|
||||
}
|
||||
});
|
||||
$('#codelang-sub-select').on('change', function () {
|
||||
|
||||
Reference in new issue
Block a user