From baed28f685d28db23aeb351755669d4aa9d44d74 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 --- sass/{_animations.css => _animations.scss} | 0 scripts/material.js | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) rename sass/{_animations.css => _animations.scss} (100%) diff --git a/sass/_animations.css b/sass/_animations.scss similarity index 100% rename from sass/_animations.css rename to sass/_animations.scss 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() {