From bcdfbe9391ad7f87d49ca279a4b799ec71bfb8d2 Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Sun, 6 Sep 2020 02:56:34 +0200 Subject: [PATCH] allow all 20X return codes --- static/contact.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/contact.js b/static/contact.js index 6dce774..2d96acf 100644 --- a/static/contact.js +++ b/static/contact.js @@ -15,7 +15,7 @@ function submitContactForm(){ } function formSubmitFinished(event){ - if(event.target.status != 200){ + if(event.target.status < 200 || event.target.status >= 300){ showErrorMessage(event.target); // blocking setMainBackgroundOpacity(1) }else{