Fix JS error
This commit is contained in:
		
							parent
							
								
									73e30c30e8
								
							
						
					
					
						commit
						ccc036d631
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -36,11 +36,12 @@ if (window.location.hash === "#renew") { | |||
|     window.location.hash = "#renewal"; | ||||
| } | ||||
| 
 | ||||
| var $formCorrectionNeeded = $('#form-correction-needed'); | ||||
| 
 | ||||
| function init_sustainer_form_validation () { | ||||
|     // Forms start in "invalid" form, with the errors shown, so that
 | ||||
|     // non-Javascript users see the errors by default and know what they must
 | ||||
|     // enter.  Now we hide those for JavaScript users:
 | ||||
|     var $formCorrectionNeeded = $('#form-correction-needed'); | ||||
|     $formCorrectionNeeded.addClass('hidden'); | ||||
| 
 | ||||
|     $('form.supporter-form').each(function(index, form) { | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue