Skip to content

Commit baed28f

Browse files
author
FezVrasta
committed
js fix and rename of css to scss
1 parent 1a0a22b commit baed28f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/material.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
$this.after("<div class=floating-label>" + placeholder + "</div>");
6262
}
6363
if ($this.val() === null || $this.val() == "undefined" || $this.val() === "") {
64-
console.log("enter empty");
6564
$this.addClass("empty");
6665
}
6766
if ($this.parent().next().is("[type=file]")) {
@@ -82,6 +81,8 @@
8281
var $this = $(this);
8382
if($this.val() === "") {
8483
$this.addClass("empty");
84+
} else {
85+
$this.removeClass("empty");
8586
}
8687
})
8788
.on("focus", ".form-control-wrapper.fileinput", function() {

0 commit comments

Comments
 (0)