aboutsummaryrefslogtreecommitdiff
path: root/static/script.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/script.js')
-rw-r--r--static/script.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/static/script.js b/static/script.js
index 6cd6668d..ef71b6b8 100644
--- a/static/script.js
+++ b/static/script.js
@@ -318,6 +318,7 @@ async function create_event (event) {
console.log(response);
if (response.status < 200 || response.status >= 300) {
alert(`HTTP error ${response.status}\n${response.statusText}`)
+ return;
}
let body = await response.text();