core&ui: contest balloon notice (#1071)

This commit is contained in:
undefined authored and GitHub committed 2025-10-30 17:57:28 +00:00
1 parent 6d2442c6a3
commit 053978d9d4
12 files changed
+135 -63

No files matched your search

@@ -85,7 +85,8 @@ async function handleSetColor(tdoc) {
Notification.error(`${e.message} ${e.params?.[0]}`);
}
Notification.info(i18n('Successfully updated.'));
pjax.request({ url: '', push: false });
if ($('[data-fragment-id="constest_balloon-tbody"]').length) pjax.request({ url: '', push: false });
else window.location.reload();
}
const page = new NamedPage('contest_balloon', () => {