diff --git a/files/assets/js/core.js b/files/assets/js/core.js index c08fa0833..f31a1e23d 100644 --- a/files/assets/js/core.js +++ b/files/assets/js/core.js @@ -78,6 +78,16 @@ function postToast(t, url, data, callback) { } } +function postToastReload(t, url) { + postToast(t, url, + { + }, + () => { + location.reload() + } + ); +} + function postToastSwitch(t, url, button1, button2, cls, callback) { postToast(t, url, { diff --git a/files/classes/submission.py b/files/classes/submission.py index a2952f6f8..2458a76bf 100644 --- a/files/classes/submission.py +++ b/files/classes/submission.py @@ -323,7 +323,7 @@ class Submission(Base): body += " - WINNER!" if not winner and v and v.admin_level >= PERMS['POST_BETS_DISTRIBUTE']: - body += f'''''' + body += f'''''' body += "" else: input_type = 'radio' if o.exclusive else 'checkbox' diff --git a/files/templates/admin/app.html b/files/templates/admin/app.html index 717a4f11c..c77c4495c 100644 --- a/files/templates/admin/app.html +++ b/files/templates/admin/app.html @@ -34,12 +34,12 @@
Join a house (cost: {{cost}} coins or marseybux).
{% endif %}