Fix: alert "Fine" only once

This commit is contained in:
Ilya Konanykhin
2017-01-26 15:50:47 +06:00
parent ca72edb7e0
commit ed2f3f6e61
@@ -22,7 +22,7 @@ $(document).ready(function(){
}
if( contact_vals.length >= MIN_LEN || submit_count > MAX_SUBMITS){
if( submit_count > MAX_SUBMITS ){
if( submit_count == MAX_SUBMITS + 1 ){
alert("Fine.");
}
return true;