mirror of
				https://github.com/mdbootstrap/mdb-ui-kit.git
				synced 2025-11-04 09:57:36 +03:00 
			
		
		
		
	js fix and rename of css to scss
This commit is contained in:
		
							parent
							
								
									9391cce89e
								
							
						
					
					
						commit
						8b1c86070c
					
				| 
						 | 
				
			
			@ -61,7 +61,6 @@
 | 
			
		|||
                    $this.after("<div class=floating-label>" + placeholder + "</div>");
 | 
			
		||||
                }
 | 
			
		||||
                if ($this.val() === null || $this.val() == "undefined" || $this.val() === "") {
 | 
			
		||||
                    console.log("enter empty");
 | 
			
		||||
                    $this.addClass("empty");
 | 
			
		||||
                }
 | 
			
		||||
                if ($this.parent().next().is("[type=file]")) {
 | 
			
		||||
| 
						 | 
				
			
			@ -82,6 +81,8 @@
 | 
			
		|||
                var $this = $(this);
 | 
			
		||||
                if($this.val() === "") {
 | 
			
		||||
                    $this.addClass("empty");
 | 
			
		||||
                } else {
 | 
			
		||||
                    $this.removeClass("empty");
 | 
			
		||||
                }
 | 
			
		||||
            })
 | 
			
		||||
            .on("focus", ".form-control-wrapper.fileinput", function() {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user