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() !== "") { | ||||
|             $(this).removeClass("empty"); | ||||
|         } else { | ||||
|             $(this).addClass("empty"); | ||||
|         } | ||||
|     }); | ||||
|     $(document).on("keydown", ".form-control", function() { | ||||
|         $(this).removeClass("empty"); | ||||
|     }); | ||||
| }); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user