fix ci warnings

This commit is contained in:
undefined committed 2025-07-24 14:00:13 +08:00
1 parent 98d9ddf97a
commit 4b2d4c74cd
13 files changed
+30 -22

No files matched your search

@@ -42,7 +42,7 @@ const page = new NamedPage(['contest_edit', 'contest_create', 'homework_create',
});
}
const message = `Confirm deleting this ${pagename.split('_')[0]}? Its files and status will be deleted as well.`;
confirm(i18n(message)).then((yes) => {
return confirm(i18n(message)).then((yes) => {
if (yes) {
confirmed = true;
ev.target.click();