From fc13cdb91df9343d19bb745f763f57383b313408 Mon Sep 17 00:00:00 2001 From: Phuc Nguyen Date: Wed, 29 Oct 2014 17:26:13 +0700 Subject: [PATCH] Fix: Floating label is not floated on paste event --- scripts/material.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/material.js b/scripts/material.js index aa148df6..2f38b092 100644 --- a/scripts/material.js +++ b/scripts/material.js @@ -73,7 +73,7 @@ $(document) .on("change", ".checkbox input", function() { $(this).blur(); }) - .on("keydown", ".form-control", function(e) { + .on("keydown paste", ".form-control", function(e) { if(_isChar(e)) { $(this).removeClass("empty"); }