Skip to content

Commit 1a0a22b

Browse files
author
FezVrasta
committed
1 parent dabe81f commit 1a0a22b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

dist/js/material.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/material.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@
6060
$this.attr("placeholder", null).removeClass("floating-label");
6161
$this.after("<div class=floating-label>" + placeholder + "</div>");
6262
}
63-
if ($this.is(":empty") || $this.val() === null || $this.val() == "undefined" || $this.val() === "") {
63+
if ($this.val() === null || $this.val() == "undefined" || $this.val() === "") {
64+
console.log("enter empty");
6465
$this.addClass("empty");
6566
}
6667
if ($this.parent().next().is("[type=file]")) {

0 commit comments

Comments
 (0)