mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-12-01 14:03:45 +03:00
js fix and rename of css to scss
This commit is contained in:
parent
1cfbb247e9
commit
3656966750
|
@ -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