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
							
								
									1a0a22b41c
								
							
						
					
					
						commit
						baed28f685
					
				| 
						 | 
					@ -61,7 +61,6 @@
 | 
				
			||||||
                    $this.after("<div class=floating-label>" + placeholder + "</div>");
 | 
					                    $this.after("<div class=floating-label>" + placeholder + "</div>");
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                if ($this.val() === null || $this.val() == "undefined" || $this.val() === "") {
 | 
					                if ($this.val() === null || $this.val() == "undefined" || $this.val() === "") {
 | 
				
			||||||
                    console.log("enter empty");
 | 
					 | 
				
			||||||
                    $this.addClass("empty");
 | 
					                    $this.addClass("empty");
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                if ($this.parent().next().is("[type=file]")) {
 | 
					                if ($this.parent().next().is("[type=file]")) {
 | 
				
			||||||
| 
						 | 
					@ -82,6 +81,8 @@
 | 
				
			||||||
                var $this = $(this);
 | 
					                var $this = $(this);
 | 
				
			||||||
                if($this.val() === "") {
 | 
					                if($this.val() === "") {
 | 
				
			||||||
                    $this.addClass("empty");
 | 
					                    $this.addClass("empty");
 | 
				
			||||||
 | 
					                } else {
 | 
				
			||||||
 | 
					                    $this.removeClass("empty");
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            })
 | 
					            })
 | 
				
			||||||
            .on("focus", ".form-control-wrapper.fileinput", function() {
 | 
					            .on("focus", ".form-control-wrapper.fileinput", function() {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user