diff --git a/app/assets/javascripts/devise/registrations.js b/app/assets/javascripts/devise/registrations.js index 4d81ac5..5895aa8 100644 --- a/app/assets/javascripts/devise/registrations.js +++ b/app/assets/javascripts/devise/registrations.js @@ -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;