mirror of
https://github.com/FAUSheppy/flask-json-dream-website
synced 2025-12-06 08:11:35 +01:00
allow all 20X return codes
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user