From be7f4905cd706f5f9bd79efc6caee5918f9a3542 Mon Sep 17 00:00:00 2001 From: FezVrasta Date: Wed, 29 Oct 2014 16:20:53 +0100 Subject: [PATCH] js fix and rename of css to scss --- scripts/material.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/material.js b/scripts/material.js index aa148df6..a3e5955c 100644 --- a/scripts/material.js +++ b/scripts/material.js @@ -61,7 +61,6 @@ $this.after("
" + placeholder + "
"); } 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() {