mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
core&ui: contest balloon notice (#1071)
This commit is contained in:
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', () => {
|
||||
|
||||
Reference in new issue
Block a user