mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
merge #377
This commit is contained in:
1 parent
e4ce668850
commit
d8a45d5323
2 files changed
+3
-3
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.38.0",
|
||||
"version": "4.38.1",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "hydro.js",
|
||||
|
||||
@@ -214,8 +214,8 @@ const page = new NamedPage(['problem_detail', 'contest_detail_problem', 'homewor
|
||||
});
|
||||
if (cnt) {
|
||||
$('.problem-content .typo').append(document.getElementsByClassName('nav__item--round').length
|
||||
? `<input type="submit" disabled class="button rounded primary" value="${i18n('Submit')}" />`
|
||||
: `<input type="submit" class="button rounded primary" value="${i18n('Login to Submit')}" />`);
|
||||
? `<input type="submit" disabled class="button rounded primary disabled" value="${i18n('Login to Submit')}" />`
|
||||
: `<input type="submit" class="button rounded primary" value="${i18n('Submit')}" />`);
|
||||
$('input.objective-input[type!=checkbox]').on('input', (e) => {
|
||||
ans[e.target.name] = e.target.value;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user