mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
fix ci warnings
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user