Permalink
Browse files

Split lines to increase readability

  • Loading branch information...
1 parent a34189d commit a5a6c04a23701e7364eb3adc54d4e2895d7b1b2c @sbleon sbleon committed Mar 21, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 vendor/assets/javascripts/rails.validations.js
@@ -83,7 +83,9 @@ if(window['clientSideValidations']['forms'] === undefined) window['clientSideVal
var validateForm = function(form, validators) {
var valid = true;
- form.trigger('form:validate:before').find('[data-validate]:input').each(function() {
+ form.trigger('form:validate:before')
+
+ form.find('[data-validate]:input').each(function() {
if (!$(this).isValid(validators)) { valid = false; }
});

0 comments on commit a5a6c04

Please sign in to comment.