allow all 20X return codes

This commit is contained in:
Yannik Schmidt
2020-09-06 02:56:34 +02:00
parent 1fee6b6475
commit bcdfbe9391

View File

@@ -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{