mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-29 13:04:14 +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>");
|
$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