1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-02-28 08:43:23 -05:00

Fix: alert "Fine" only once

This commit is contained in:
Ilya Konanykhin 2017-01-26 15:50:47 +06:00
parent ca72edb7e0
commit ed2f3f6e61

View File

@ -22,7 +22,7 @@ $(document).ready(function(){
} }
if( contact_vals.length >= MIN_LEN || submit_count > MAX_SUBMITS){ if( contact_vals.length >= MIN_LEN || submit_count > MAX_SUBMITS){
if( submit_count > MAX_SUBMITS ){ if( submit_count == MAX_SUBMITS + 1 ){
alert("Fine."); alert("Fine.");
} }
return true; return true;