mirror of
https://github.com/FAUSheppy/flask-json-dream-website
synced 2025-12-07 00:31:34 +01:00
allow all 20X return codes
This commit is contained in:
@@ -15,7 +15,7 @@ function submitContactForm(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
function formSubmitFinished(event){
|
function formSubmitFinished(event){
|
||||||
if(event.target.status != 200){
|
if(event.target.status < 200 || event.target.status >= 300){
|
||||||
showErrorMessage(event.target); // blocking
|
showErrorMessage(event.target); // blocking
|
||||||
setMainBackgroundOpacity(1)
|
setMainBackgroundOpacity(1)
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
Reference in New Issue
Block a user