mirror of
				https://github.com/mdbootstrap/mdb-ui-kit.git
				synced 2025-10-30 23:47:42 +03:00 
			
		
		
		
	js fix
This commit is contained in:
		
							parent
							
								
									8c78d8a57b
								
							
						
					
					
						commit
						4fd7a94a81
					
				|  | @ -24,12 +24,15 @@ $(function (){ | ||||||
|         } |         } | ||||||
|     }); |     }); | ||||||
| 
 | 
 | ||||||
|     $(document).on("keyup", ".form-control", function() { |     $(document).on("keyup change", ".form-control", function() { | ||||||
|         if ($(this).val() !== "") { |         if ($(this).val() !== "") { | ||||||
|             $(this).removeClass("empty"); |             $(this).removeClass("empty"); | ||||||
|         } else { |         } else { | ||||||
|             $(this).addClass("empty"); |             $(this).addClass("empty"); | ||||||
|         } |         } | ||||||
|     }); |     }); | ||||||
|  |     $(document).on("keydown", ".form-control", function() { | ||||||
|  |         $(this).removeClass("empty"); | ||||||
|  |     }); | ||||||
| }); | }); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user